| 1 | /* RUN: %clang_cc1 -fsyntax-only %s -std=c89 |
|---|---|
| 2 | * RUN: not %clang_cc1 -fsyntax-only %s -std=c99 -pedantic-errors |
| 3 | */ |
| 4 | |
| 5 | int A() { |
| 6 | return X(); |
| 7 | } |
| 8 | |
| 9 |
| 1 | /* RUN: %clang_cc1 -fsyntax-only %s -std=c89 |
|---|---|
| 2 | * RUN: not %clang_cc1 -fsyntax-only %s -std=c99 -pedantic-errors |
| 3 | */ |
| 4 | |
| 5 | int A() { |
| 6 | return X(); |
| 7 | } |
| 8 | |
| 9 |