summaryrefslogtreecommitdiffstats
path: root/test/Sema/struct-cast.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/struct-cast.c')
-rw-r--r--test/Sema/struct-cast.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Sema/struct-cast.c b/test/Sema/struct-cast.c
index dc7db13..3456665 100644
--- a/test/Sema/struct-cast.c
+++ b/test/Sema/struct-cast.c
@@ -5,7 +5,8 @@ struct S {
int two;
};
-struct S const foo(void);
+struct S const foo(void); // expected-warning{{type qualifier on return type has no effect}}
+
struct S tmp;
OpenPOWER on IntegriCloud