diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-03-07 03:00:25 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-03-07 03:00:25 +0000 |
commit | b2ecd46ae43decd73a7f9fc949fa4eda73b302b6 (patch) | |
tree | 3f8b131fbb31a6da5fdac7a370904876cfc6e872 /clang/test/CodeGenCXX/alloc-size.cpp | |
parent | 4cbeeb16959e8b1de5237e092a635e2c137d15a1 (diff) | |
download | bcm5719-llvm-b2ecd46ae43decd73a7f9fc949fa4eda73b302b6.tar.gz bcm5719-llvm-b2ecd46ae43decd73a7f9fc949fa4eda73b302b6.zip |
Revert 326766 too, after r326862 the test fails and I don't know how to fix.
llvm-svn: 326869
Diffstat (limited to 'clang/test/CodeGenCXX/alloc-size.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/alloc-size.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/test/CodeGenCXX/alloc-size.cpp b/clang/test/CodeGenCXX/alloc-size.cpp index 5b8e1c5cf96..ac53ea8f8ea 100644 --- a/clang/test/CodeGenCXX/alloc-size.cpp +++ b/clang/test/CodeGenCXX/alloc-size.cpp @@ -70,15 +70,3 @@ int testIt() { __builtin_object_size(dependent_calloc2<int, 9>(), 0); } } // namespace templated_alloc_size - -struct D { - ~D(); - void *my_malloc(int N) __attribute__((alloc_size(2))); -}; - -// CHECK-LABEL: define i32 @_Z20callExprWithCleanupsv -int callExprWithCleanups() { - int *const p = (int *)D().my_malloc(3); - // CHECK: ret i32 3 - return __builtin_object_size(p, 0); -} |