summaryrefslogtreecommitdiff
path: root/test/FrontendC/2004-06-08-OpaqueStructArg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2004-06-08-OpaqueStructArg.c')
-rw-r--r--test/FrontendC/2004-06-08-OpaqueStructArg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FrontendC/2004-06-08-OpaqueStructArg.c b/test/FrontendC/2004-06-08-OpaqueStructArg.c
new file mode 100644
index 000000000000..ede811c38988
--- /dev/null
+++ b/test/FrontendC/2004-06-08-OpaqueStructArg.c
@@ -0,0 +1,7 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
+ struct fu;
+ void foo(struct fu);
+ void bar() {
+ foo;
+ }