| 1 |
// RUN: %clang_cc1 -fsyntax-only -Wstrict-prototypes -verify -std=c2x %s |
| 2 |
// RUN: %clang_cc1 -fsyntax-only -Wstrict-prototypes -verify -fno-knr-functions %s |
| 3 |
// expected-no-diagnostics |
| 4 |
|
| 5 |
void foo(); |
| 6 |
void bar() {} |
| 7 |
|
| 8 |
void baz(void); |
| 9 |
void baz() {} |