]> granicus.if.org Git - clang/commitdiff
Remove a c++ file test I inadvertently added in Sema last week.
authorFrancois Pichet <pichet2000@gmail.com>
Mon, 17 Jan 2011 01:08:01 +0000 (01:08 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Mon, 17 Jan 2011 01:08:01 +0000 (01:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123608 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/MicrosoftExtensions.cpp [deleted file]
test/SemaCXX/MicrosoftExtensions.cpp

diff --git a/test/Sema/MicrosoftExtensions.cpp b/test/Sema/MicrosoftExtensions.cpp
deleted file mode 100644 (file)
index fea763e..0000000
+++ /dev/null
@@ -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);
-}
index cfb27bcf21c4b334c84517264dbd1fd31f39616d..2bcbbcaeb52d97dbc1859d62cde1d7a4e8b892a6 100644 (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);
+}