Really use attribute.
authorTanya Lattner <tonic@nondot.org>
Wed, 6 Jun 2007 21:00:46 +0000 (21:00 +0000)
committerTanya Lattner <tonic@nondot.org>
Wed, 6 Jun 2007 21:00:46 +0000 (21:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37480 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2007-06-05-NoInlineAttribute.c

index c0c17c921be1c8dc52cf893cf356910a0d67b228..1fd981b6e4df4de6c14f3260cc4dad3524994965 100644 (file)
@@ -1,8 +1,8 @@
 // RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline 
 
-int bar(int x, int y); __attribute__((noinline))
+static int bar(int x, int y) __attribute__((noinline));
 
-int bar(int x, int y)  
+static int bar(int x, int y)  
 {
  return x + y;
 }