diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-08-28 17:24:14 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-08-28 17:24:14 +0000 |
commit | 67be089ff390ecaa048df944ee82b9252ab1b878 (patch) | |
tree | ec54b2d134a0aa7d8575ec335b63a1d0b56f523b /test/CodeGenCXX/new-array-init.cpp | |
parent | 327ee9cfdf49daa0dcd337944e0e3ff3bb3e0ca6 (diff) |
Reverting r216675. This breaks some bots. Before this can be committed again, I have to explore runtime ABI requirements with libc++abi.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216677 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/new-array-init.cpp')
-rw-r--r-- | test/CodeGenCXX/new-array-init.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/CodeGenCXX/new-array-init.cpp b/test/CodeGenCXX/new-array-init.cpp index da11710bdd..65123ea7fe 100644 --- a/test/CodeGenCXX/new-array-init.cpp +++ b/test/CodeGenCXX/new-array-init.cpp @@ -14,12 +14,7 @@ void fn(int n) { // CHECK-LABEL: define void @_Z15const_underflowv void const_underflow() { // CHECK-NOT: icmp ult i{{32|64}} %{{[^ ]+}}, 3 - // CHECK: br label %[[BAD:.*]] - // CHECK: [[BAD]]: - // CHECK-NEXT: call void @__cxa_bad_array_new_length() - // CHECK-NEXT: unreachable - // CHECK: {{.*}}: - // CHECK: ret void + // CHECK: call noalias i8* @_Zna{{.}}(i{{32|64}} -1) new int[2] { 1, 2, 3 }; } |