summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/lto-constmerge-odr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/lto-constmerge-odr.cc')
-rw-r--r--test/asan/TestCases/lto-constmerge-odr.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/asan/TestCases/lto-constmerge-odr.cc b/test/asan/TestCases/lto-constmerge-odr.cc
index 11f4ad0c1..e69de29bb 100644
--- a/test/asan/TestCases/lto-constmerge-odr.cc
+++ b/test/asan/TestCases/lto-constmerge-odr.cc
@@ -1,14 +0,0 @@
-// RUN: %clangxx_asan -O3 -flto %s -o %t
-// RUN: %run %t 2>&1
-
-// REQUIRES: lto
-
-int main(int argc, const char * argv[]) {
- struct { long width, height; } a = {16, 16};
- struct { long width, height; } b = {16, 16};
-
- // Just to make sure 'a' and 'b' don't get optimized out.
- asm volatile ("" : : "r" (&a), "r" (&b) );
-
- return 0;
-}