forked from OSchip/llvm-project
Remove a c++ file test I inadvertently added in Sema last week.
llvm-svn: 123608
This commit is contained in:
parent
834bfbf147
commit
7d92ee3852
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue