Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -std=c++98 -Wc++11-extensions -verify %s
      2 
      3 long long ll1 = // expected-warning {{'long long' is a C++11 extension}}
      4          -42LL; // expected-warning {{'long long' is a C++11 extension}}
      5 unsigned long long ull1 = // expected-warning {{'long long' is a C++11 extension}}
      6                    42ULL; // expected-warning {{'long long' is a C++11 extension}}
      7 
      8 enum struct E1 { A, B }; // expected-warning {{scoped enumerations are a C++11 extension}}
      9 enum class E2 { C, D }; // expected-warning {{scoped enumerations are a C++11 extension}}
     10