diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-10-27 22:00:16 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-10-27 22:00:16 +0000 |
commit | c532f633a94f3d91b4435c8ed84dc3ef7bcf2afa (patch) | |
tree | 566988fd86cce27543d0caaa73223248805b8952 | |
parent | 194aade5a0378afd1e669305fa3dc284eb4f5ec8 (diff) |
Add 'expected-warning' for braces around scalar initializer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58280 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/stack-addr-ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/stack-addr-ps.c b/test/Analysis/stack-addr-ps.c index 9a8a8f78e9..d0294aa9d3 100644 --- a/test/Analysis/stack-addr-ps.c +++ b/test/Analysis/stack-addr-ps.c @@ -19,6 +19,6 @@ int* f3(int x, int *y) { } unsigned short* compound_literal() { - return &(unsigned short){((unsigned short)0x22EF)}; // expected-warning{{Address of stack memory}} + return &(unsigned short){((unsigned short)0x22EF)}; // expected-warning{{Address of stack memory}} expected-warning{{braces around scalar initializer}} } |