brintos

brintos / llvm-project-archived public Read only

0
0
Text · 658 B · a9c00b2 Raw
20 lines · c
1/* RUN: %clang_cc1 -std=c89 -verify -pedantic -Wno-c11-extensions %s2   RUN: %clang_cc1 -std=c99 -verify -pedantic -Wno-c11-extensions %s3   RUN: %clang_cc1 -std=c11 -verify -pedantic %s4   RUN: %clang_cc1 -std=c17 -verify -pedantic %s5   RUN: %clang_cc1 -std=c2x -verify -pedantic %s6 */7 8/* expected-no-diagnostics */9 10/* WG14 DR464: yes11 * Clarifying the Behavior of the #line Directive12 *13 * Note: the behavior described by this DR allows for two different14 * interpretations, but WG14 N2322 (adopted for C2x) adds a recommended15 * practice which is what we're testing our interpretation against.16 */17#line 1000018_Static_assert(__LI\19NE__ == 10000, "");20