More tests for r164545 (change extension warning about 'long long').

llvm-svn: 164556
This commit is contained in:
Dmitri Gribenko 2012-09-24 21:09:05 +00:00
parent b8e9e7507e
commit 2e0e3f37be
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// RUN: %clang_cc1 -fsyntax-only -std=c++98 -Wc++11-extensions -verify %s
long long ll1 = // expected-warning {{'long long' is a C++11 extension}}
-42LL; // expected-warning {{'long long' is a C++11 extension}}
unsigned long long ull1 = // expected-warning {{'long long' is a C++11 extension}}
42ULL; // expected-warning {{'long long' is a C++11 extension}}