summaryrefslogtreecommitdiff
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-29 22:20:53 +0000
committerChris Lattner <sabre@nondot.org>2003-06-29 22:20:53 +0000
commit9c95e52c08594c50c841a6b8fad7e01ac14347ae (patch)
tree1343ea1335610354db7c9b14282ffc4da05e18ce /test/CFrontend
parent5c5b10f46ae833a191fd64ae164d2b140751736d (diff)
downloadllvm-9c95e52c08594c50c841a6b8fad7e01ac14347ae.tar.gz
llvm-9c95e52c08594c50c841a6b8fad7e01ac14347ae.tar.bz2
llvm-9c95e52c08594c50c841a6b8fad7e01ac14347ae.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2003-06-29-MultipleFunctionDefinition.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CFrontend/2003-06-29-MultipleFunctionDefinition.c b/test/CFrontend/2003-06-29-MultipleFunctionDefinition.c
new file mode 100644
index 0000000000..bd5ac83da7
--- /dev/null
+++ b/test/CFrontend/2003-06-29-MultipleFunctionDefinition.c
@@ -0,0 +1,5 @@
+/* This is apparantly legal C. */
+extern __inline__ void test() { }
+
+void test() {
+}