summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/mangle.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-01-18 23:55:52 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-01-18 23:55:52 +0000
commit8ef7b203332b0c8d65876a1f5e6d1db4e6f40e4b (patch)
treedee9b186a48a66f3c8be5c56c4e774338408bece /test/CodeGenCXX/mangle.cpp
parentd6c7c67313634b317a0d63c32be0511a121bb33d (diff)
constexpr: converted constant expression handling for enumerator values, case
values and non-type template arguments of integral and enumeration types. This change causes some legal C++98 code to no longer compile in C++11 mode, by enforcing the C++11 rule that narrowing integral conversions are not permitted in the final implicit conversion sequence for the above cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle.cpp')
-rw-r--r--test/CodeGenCXX/mangle.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp
index 47c42a7347..17232fd060 100644
--- a/test/CodeGenCXX/mangle.cpp
+++ b/test/CodeGenCXX/mangle.cpp
@@ -76,9 +76,6 @@ void f(S3<true>) {}
// CHECK: define void @_Z1f2S3ILb0EE
void f(S3<false>) {}
-// CHECK: define void @_Z2f22S3ILb1EE
-void f2(S3<100>) {}
-
struct S;
// CHECK: define void @_Z1fM1SKFvvE