Remove a c++ file test I inadvertently added in Sema last week.

llvm-svn: 123608
This commit is contained in:
Francois Pichet 2011-01-17 01:08:01 +00:00
parent 834bfbf147
commit 7d92ee3852
2 changed files with 12 additions and 13 deletions

View File

@ -1,13 +0,0 @@
// RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wmicrosoft -fms-extensions -verify
void f(long long);
void f(int);
int main()
{
// This is an ambiguous call in standard C++.
// This calls f(long long) in Microsoft mode because LL is always signed.
f(0xffffffffffffffffLL);
f(0xffffffffffffffffi64);
}

View File

@ -97,3 +97,15 @@ enum ENUM2 {
ENUM2_b = 0x9FFFFFFF, // expected-warning {{enumerator value is not representable in the underlying type 'int'}}
ENUM2_c = 0x100000000 // expected-warning {{enumerator value is not representable in the underlying type 'int'}}
};
void f(long long);
void f(int);
int main()
{
// This is an ambiguous call in standard C++.
// This calls f(long long) in Microsoft mode because LL is always signed.
f(0xffffffffffffffffLL);
f(0xffffffffffffffffi64);
}