aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/builtins.c
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-10-15 08:48:51 +0000
committerGabor Greif <ggreif@gmail.com>2010-10-15 08:48:51 +0000
commit2fb985bdda20037bda228628acd4cbaa8a3b36ac (patch)
tree7c4d232cf1f6e8db516ce3d44704c040052a78fd /test/Sema/builtins.c
parent1f4295b966870fff784faa5a5eba3fe9e27a6406 (diff)
zap trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/builtins.c')
-rw-r--r--test/Sema/builtins.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Sema/builtins.c b/test/Sema/builtins.c
index 7f284dabcd..4072faa94b 100644
--- a/test/Sema/builtins.c
+++ b/test/Sema/builtins.c
@@ -37,7 +37,7 @@ void test7() {
void test9(short v) {
unsigned i, old;
-
+
old = __sync_fetch_and_add(); // expected-error {{too few arguments to function call}}
old = __sync_fetch_and_add(&old); // expected-error {{too few arguments to function call}}
old = __sync_fetch_and_add((unsigned*)0, 42i); // expected-warning {{imaginary constants are an extension}}
@@ -56,14 +56,14 @@ void test9(short v) {
void test10(void) __attribute__((noreturn));
void test10(void) {
- __asm__("int3");
+ __asm__("int3");
__builtin_unreachable();
-
+
// No warning about falling off the end of a noreturn function.
}
void test11(int X) {
- switch (X) {
+ switch (X) {
case __builtin_eh_return_data_regno(0): // constant foldable.
break;
}
@@ -101,4 +101,4 @@ int test16() {
return __builtin_constant_p() + // expected-error{{too few arguments}}
__builtin_constant_p(1, 2); // expected-error {{too many arguments}}
}
-
+