summaryrefslogtreecommitdiffstats
path: root/test/Sema/function-redecl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/function-redecl.c')
-rw-r--r--test/Sema/function-redecl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/function-redecl.c b/test/Sema/function-redecl.c
index 9544dc9..1302b34 100644
--- a/test/Sema/function-redecl.c
+++ b/test/Sema/function-redecl.c
@@ -125,3 +125,7 @@ void test_x() {
x(5);
x2(5); // expected-warning{{incompatible integer to pointer conversion passing 'int', expected 'int *'}}
}
+
+enum e0 {};
+void f3();
+void f3(enum e0 x) {}
OpenPOWER on IntegriCloud