Adjust this to the wonky syntax that GCC expects.
authorChris Lattner <sabre@nondot.org>
Fri, 29 Sep 2006 17:34:56 +0000 (17:34 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 29 Sep 2006 17:34:56 +0000 (17:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30670 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2005-12-04-AttributeUsed.c

index e19d348806302106582595bff517c692c76be6c2..a3da1c3e6411fb55148257f60a00ea1255472d04 100644 (file)
@@ -3,6 +3,5 @@
 int X __attribute__((used));
 int Y;
 
-void foo() __attribute__((used));
+__attribute__((used)) void foo() {}
 
-void foo() {}