diff options
Diffstat (limited to 'clang/test/Sema/struct-cast.c')
-rw-r--r-- | clang/test/Sema/struct-cast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Sema/struct-cast.c b/clang/test/Sema/struct-cast.c index dc7db130dc1..3456665a8c5 100644 --- a/clang/test/Sema/struct-cast.c +++ b/clang/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; |