summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/expressions.c
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2013-10-08 17:38:38 +0000
committerSerge Pavlov <sepavloff@gmail.com>2013-10-08 17:38:38 +0000
commit5815940edc2c655bc82825cfc5d7c4fc8d76c41f (patch)
tree91a9a01580a5a151f2f290f145d5acc2a4a9c1d8 /clang/test/Parser/expressions.c
parent97309af4f428d28d31f51adf69904ab302c928a2 (diff)
downloadbcm5719-llvm-5815940edc2c655bc82825cfc5d7c4fc8d76c41f.tar.gz
bcm5719-llvm-5815940edc2c655bc82825cfc5d7c4fc8d76c41f.zip
Fixed messages in tests.
llvm-svn: 192208
Diffstat (limited to 'clang/test/Parser/expressions.c')
-rw-r--r--clang/test/Parser/expressions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Parser/expressions.c b/clang/test/Parser/expressions.c
index 6c567f91baa..dfc8f6c712b 100644
--- a/clang/test/Parser/expressions.c
+++ b/clang/test/Parser/expressions.c
@@ -62,8 +62,8 @@ void test7() {
struct pr16992 { int x; };
void func_16992 () {
- int x1 = sizeof int; // expected-error{{missed parenthesis around the type name in sizeof}}
- int x2 = sizeof struct pr16992; // expected-error{{missed parenthesis around the type name in sizeof}}
- int x3 = __alignof int; // expected-error{{missed parenthesis around the type name in __alignof}}
- int x4 = _Alignof int; // expected-error{{missed parenthesis around the type name in _Alignof}}
+ int x1 = sizeof int; // expected-error{{missed parentheses around type name in sizeof}}
+ int x2 = sizeof struct pr16992; // expected-error{{missed parentheses around type name in sizeof}}
+ int x3 = __alignof int; // expected-error{{missed parentheses around type name in __alignof}}
+ int x4 = _Alignof int; // expected-error{{missed parentheses around type name in _Alignof}}
}
OpenPOWER on IntegriCloud