summaryrefslogtreecommitdiff
path: root/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
commit2e391e516c70c64457c009574de18d0a29ca42b6 (patch)
treecad65f7fcb3a39b84f675e2786a48d1bda4226d9 /test/Parser/expressions.c
parent7ca0fce1700acdbd688886259168152e1bec9979 (diff)
downloadclang-2e391e516c70c64457c009574de18d0a29ca42b6.tar.gz
Fixed messages in tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/expressions.c')
-rw-r--r--test/Parser/expressions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Parser/expressions.c b/test/Parser/expressions.c
index 6c567f91ba..dfc8f6c712 100644
--- a/test/Parser/expressions.c
+++ b/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}}
}