[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Parser / extension.c
blobb675f6064802b52642d90c929c4b0b4278f40a61
1 /* RUN: %clang_cc1 %s -fsyntax-only -pedantic -verify -std=c89
2 */
4 /* Top level extension marker. */
6 __extension__ typedef struct
8 long long int quot;
9 long long int rem;
10 } lldiv_t;
13 /* Decl/expr __extension__ marker. */
14 void bar(void) {
15 __extension__ int i;
16 int j;
17 __extension__ (j = 10LL);
18 __extension__ j = 10LL; /* expected-warning {{'long long' is an extension}} */