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:
1f85129
)
Testcase for PR2292.
author
Duncan Sands
<baldrick@free.fr>
Tue, 6 May 2008 14:56:40 +0000
(14:56 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Tue, 6 May 2008 14:56:40 +0000
(14:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50718
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CFrontend/2008-05-06-CFECrash.c
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CFrontend/2008-05-06-CFECrash.c
b/test/CFrontend/2008-05-06-CFECrash.c
new file mode 100644
(file)
index 0000000..
94d556c
--- /dev/null
+++ b/
test/CFrontend/2008-05-06-CFECrash.c
@@ -0,0
+1,4
@@
+// RUN: %llvmgcc -S -O2 %s -o /dev/null
+// PR2292.
+__inline__ __attribute__ ((__pure__)) int g (void) {}
+void f (int k) { k = g (); }