aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-29 17:34:56 +0000
committerChris Lattner <sabre@nondot.org>2006-09-29 17:34:56 +0000
commitb010d64f92a5b1c17aff474a6a7fcc872cb747d5 (patch)
tree73a8d39e91bc883666edc0b2ac304802e8cbc154
parent7a8efced36bb0d9d61fcaa4f31c1e6db4cfc4299 (diff)
Adjust this to the wonky syntax that GCC expects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30670 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2005-12-04-AttributeUsed.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CFrontend/2005-12-04-AttributeUsed.c b/test/CFrontend/2005-12-04-AttributeUsed.c
index e19d348806..a3da1c3e64 100644
--- a/test/CFrontend/2005-12-04-AttributeUsed.c
+++ b/test/CFrontend/2005-12-04-AttributeUsed.c
@@ -3,6 +3,5 @@
int X __attribute__((used));
int Y;
-void foo() __attribute__((used));
+__attribute__((used)) void foo() {}
-void foo() {}