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:
decc209
)
add PR number and testcase from the PR.
author
Chris Lattner
<sabre@nondot.org>
Tue, 15 May 2007 20:40:25 +0000
(20:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 15 May 2007 20:40:25 +0000
(20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37088
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CFrontend/nested-functions.c
patch
|
blob
|
history
diff --git
a/test/CFrontend/nested-functions.c
b/test/CFrontend/nested-functions.c
index 3ac984c3bce955c4df919e51c17d144ae62b3dc4..bccbef3dbdd8655ed8562b3c4f8731d16ba805c5 100644
(file)
--- a/
test/CFrontend/nested-functions.c
+++ b/
test/CFrontend/nested-functions.c
@@
-1,4
+1,6
@@
// RUN: %llvmgcc -S %s -o - -fnested-functions
+// PR1274
+
void Bork() {
void Fork(const int *src, int size) {
int i = 1;
@@
-8,3
+10,9
@@
void Bork() {
x = src[i];
}
}
+
+void foo(void *a){
+ inline void foo_bar() {
+ a += 1;
+ }
+}