diff options
Diffstat (limited to 'clang/test/Analysis/copypaste/generic.c')
-rw-r--r-- | clang/test/Analysis/copypaste/generic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Analysis/copypaste/generic.c b/clang/test/Analysis/copypaste/generic.c index 2fa6c302da17..4c265b2d68b1 100644 --- a/clang/test/Analysis/copypaste/generic.c +++ b/clang/test/Analysis/copypaste/generic.c @@ -4,7 +4,7 @@ int global; -int foo1() { +int foo1(void) { if (global > 0) return 0; else if (global < 0) @@ -13,7 +13,7 @@ int foo1() { } // Different associated type (int instead of float) -int foo2() { +int foo2(void) { if (global > 0) return 0; else if (global < 0) @@ -22,7 +22,7 @@ int foo2() { } // Different number of associated types. -int foo3() { +int foo3(void) { if (global > 0) return 0; else if (global < 0) |