summaryrefslogtreecommitdiffstats
path: root/clang/test/Profile/c-unreachable-after-switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Profile/c-unreachable-after-switch.c')
-rw-r--r--clang/test/Profile/c-unreachable-after-switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Profile/c-unreachable-after-switch.c b/clang/test/Profile/c-unreachable-after-switch.c
index cfc111b2752e..1764c27f0cdd 100644
--- a/clang/test/Profile/c-unreachable-after-switch.c
+++ b/clang/test/Profile/c-unreachable-after-switch.c
@@ -4,7 +4,7 @@
// CHECK-LABEL: @foo()
// CHECK: store {{.*}} @[[C]], i64 0, i64 0
-void foo() {
+void foo(void) {
// CHECK: store {{.*}} @[[C]], i64 0, i64 2
switch (0) {
default: