projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4536612
)
Really use attribute.
author
Tanya Lattner
<tonic@nondot.org>
Wed, 6 Jun 2007 21:00:46 +0000
(21:00 +0000)
committer
Tanya 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
patch
|
blob
|
history
diff --git
a/test/CFrontend/2007-06-05-NoInlineAttribute.c
b/test/CFrontend/2007-06-05-NoInlineAttribute.c
index c0c17c921be1c8dc52cf893cf356910a0d67b228..1fd981b6e4df4de6c14f3260cc4dad3524994965 100644
(file)
--- 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;
}