[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / C / C99 / n636.c
blobfb69b2857dfac3bbc6076ca117a3eff22df38cd5
1 // RUN: %clang_cc1 -verify %s
2 // RUN: %clang_cc1 -verify=c2x -std=c2x %s
4 /* WG14 N636: yes
5 * remove implicit function declaration
6 */
8 void test(void) {
9 frobble(); // expected-error {{call to undeclared function 'frobble'; ISO C99 and later do not support implicit function declarations}} \
10 c2x-error {{undeclared identifier 'frobble'}}