[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / C / drs / dr464.c
bloba9c00b2eb4b19a1b9b6419f6c8f1c8d9b45e8520
1 /* RUN: %clang_cc1 -std=c89 -verify -pedantic -Wno-c11-extensions %s
2 RUN: %clang_cc1 -std=c99 -verify -pedantic -Wno-c11-extensions %s
3 RUN: %clang_cc1 -std=c11 -verify -pedantic %s
4 RUN: %clang_cc1 -std=c17 -verify -pedantic %s
5 RUN: %clang_cc1 -std=c2x -verify -pedantic %s
6 */
8 /* expected-no-diagnostics */
10 /* WG14 DR464: yes
11 * Clarifying the Behavior of the #line Directive
13 * Note: the behavior described by this DR allows for two different
14 * interpretations, but WG14 N2322 (adopted for C2x) adds a recommended
15 * practice which is what we're testing our interpretation against.
17 #line 10000
18 _Static_assert(__LI\
19 NE__ == 10000, "");