diff options
author | Tanya Lattner <tonic@nondot.org> | 2007-06-06 21:00:46 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2007-06-06 21:00:46 +0000 |
commit | 25e0cb3180b2d2d13cd613c52bea7ee76daa89dc (patch) | |
tree | 1ba1a196853f4884ae516fc0242d523d5bb1a37b /test/CFrontend | |
parent | 4536612477ae234c0de0fffd445a7ca122c608a6 (diff) |
Really use attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2007-06-05-NoInlineAttribute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CFrontend/2007-06-05-NoInlineAttribute.c b/test/CFrontend/2007-06-05-NoInlineAttribute.c index c0c17c921b..1fd981b6e4 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; } |