From 98c3245dc9fc4fb6162c8fe4ec3c2806e54dab65 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Mon, 29 Aug 2016 22:59:02 +0000 Subject: [PATCH] [asan] Attempt to fix test on darwin bot llvm-svn: 280026 --- compiler-rt/test/asan/TestCases/use-after-scope-types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-types.cc b/compiler-rt/test/asan/TestCases/use-after-scope-types.cc index 53ae340..ec6742b 100644 --- a/compiler-rt/test/asan/TestCases/use-after-scope-types.cc +++ b/compiler-rt/test/asan/TestCases/use-after-scope-types.cc @@ -32,7 +32,7 @@ template struct Ptr { T *t; }; -template void test() { +template __attribute__((noinline)) void test() { Ptr ptr; { T x; -- 2.7.4