Home | History | Annotate | Download | only in Parser
      1 /* RUN: %clang_cc1 %s -fsyntax-only -pedantic -verify -std=c89
      2  */
      3 
      4 /* Top level extension marker. */
      5 
      6 __extension__ typedef struct
      7 {
      8     long long int quot;
      9     long long int rem;
     10 } lldiv_t;
     11 
     12 
     13 /* Decl/expr __extension__ marker. */
     14 void bar() {
     15   __extension__ int i;
     16   int j;
     17   __extension__ (j = 10LL);
     18   __extension__ j = 10LL; /* expected-warning {{'long long' is an extension}} */
     19 }
     20 
     21