summaryrefslogtreecommitdiffstats
path: root/test/Sema/invalid-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/invalid-decl.c')
-rw-r--r--test/Sema/invalid-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/invalid-decl.c b/test/Sema/invalid-decl.c
index 7f471a1..a5e7ad3 100644
--- a/test/Sema/invalid-decl.c
+++ b/test/Sema/invalid-decl.c
@@ -6,7 +6,7 @@ void test() {
// PR2400
-typedef xtype (*x)(void* handle); // expected-error {{function cannot return array or function type}} expected-warning {{type specifier missing, defaults to 'int'}} expected-warning {{type specifier missing, defaults to 'int'}}
+typedef xtype (*x)(void* handle); // expected-error {{function cannot return function type}} expected-warning {{type specifier missing, defaults to 'int'}} expected-warning {{type specifier missing, defaults to 'int'}}
typedef void ytype();
OpenPOWER on IntegriCloud