summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-15 00:03:53 +0000
committerChris Lattner <sabre@nondot.org>2003-12-15 00:03:53 +0000
commitd598561318b70d84715a37ceff78217881282b6d (patch)
treedbc28cc1c536037d7df4807e3e512507a2a9691f /test
parentd64152a70842b2f4186aa912938e69ca09c1434c (diff)
downloadllvm-d598561318b70d84715a37ceff78217881282b6d.tar.gz
llvm-d598561318b70d84715a37ceff78217881282b6d.tar.bz2
llvm-d598561318b70d84715a37ceff78217881282b6d.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CFrontend/2003-12-14-ExternInlineSupport.c.tr3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr b/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr
new file mode 100644
index 0000000000..fb92ec773c
--- /dev/null
+++ b/test/CFrontend/2003-12-14-ExternInlineSupport.c.tr
@@ -0,0 +1,3 @@
+// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep dead_function
+
+extern __inline__ void dead_function() {}