summaryrefslogtreecommitdiff
path: root/clang/test/Parser/argument_scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/argument_scope.c')
-rw-r--r--clang/test/Parser/argument_scope.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Parser/argument_scope.c b/clang/test/Parser/argument_scope.c
new file mode 100644
index 0000000..d2d10c2
--- /dev/null
+++ b/clang/test/Parser/argument_scope.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -fsyntax-only %s
+typedef struct foo foo;
+
+void blah(int foo) {
+ foo = 1;
+}