diff options
Diffstat (limited to 'lib/asan/lit_tests/TestCases/force_inline_opt0.cc')
-rw-r--r-- | lib/asan/lit_tests/TestCases/force_inline_opt0.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/asan/lit_tests/TestCases/force_inline_opt0.cc b/lib/asan/lit_tests/TestCases/force_inline_opt0.cc deleted file mode 100644 index 775a66dfe2fe..000000000000 --- a/lib/asan/lit_tests/TestCases/force_inline_opt0.cc +++ /dev/null @@ -1,14 +0,0 @@ -// This test checks that we are no instrumenting a memory access twice -// (before and after inlining) -// RUN: %clangxx_asan -O1 %s -o %t && %t -// RUN: %clangxx_asan -O0 %s -o %t && %t -__attribute__((always_inline)) -void foo(int *x) { - *x = 0; -} - -int main() { - int x; - foo(&x); - return x; -} |