New testcase that causes invalid llvm to be emitted by cfe
authorChris Lattner <sabre@nondot.org>
Sat, 12 Oct 2002 23:37:34 +0000 (23:37 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 12 Oct 2002 23:37:34 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4124 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2002-10-12-TooManyArguments.c [new file with mode: 0644]

diff --git a/test/CFrontend/2002-10-12-TooManyArguments.c b/test/CFrontend/2002-10-12-TooManyArguments.c
new file mode 100644 (file)
index 0000000..0a1b157
--- /dev/null
@@ -0,0 +1,6 @@
+
+void foo() {}
+
+void bar() {
+       foo(1, 2, 3);  /* Too many arguments passed */
+}