diff options
Diffstat (limited to 'test/Parser/declarators.c')
-rw-r--r-- | test/Parser/declarators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/declarators.c b/test/Parser/declarators.c index 91803c1..31712af 100644 --- a/test/Parser/declarators.c +++ b/test/Parser/declarators.c @@ -53,7 +53,7 @@ myenum c; // expected-error {{must use 'enum' tag to refer to type 'myenum' float *test7() { // We should recover 'b' by parsing it with a valid type of "struct xyz", which // allows us to diagnose other bad things done with y, such as this. - return &b.y; // expected-warning {{incompatible pointer types returning 'int *', expected 'float *'}} + return &b.y; // expected-warning {{incompatible pointer types returning 'int *' from a function with result type 'float *'}} } struct xyz test8() { return a; } // a should be be marked invalid, no diag. |