diff --git a/test/CFrontend/2007-06-05-NoInlineAttribute.c b/test/CFrontend/2007-06-05-NoInlineAttribute.c index c0c17c921be..1fd981b6e4d 100644 --- a/test/CFrontend/2007-06-05-NoInlineAttribute.c +++ b/test/CFrontend/2007-06-05-NoInlineAttribute.c @@ -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; }