diff options
Diffstat (limited to 'lib/tsan/lit_tests/virtual_inheritance_compile_bug.cc')
-rw-r--r-- | lib/tsan/lit_tests/virtual_inheritance_compile_bug.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/tsan/lit_tests/virtual_inheritance_compile_bug.cc b/lib/tsan/lit_tests/virtual_inheritance_compile_bug.cc deleted file mode 100644 index 2275b8b8d2113..0000000000000 --- a/lib/tsan/lit_tests/virtual_inheritance_compile_bug.cc +++ /dev/null @@ -1,15 +0,0 @@ -// Regression test for http://code.google.com/p/thread-sanitizer/issues/detail?id=3. -// The C++ variant is much more compact that the LLVM IR equivalent. - -// RUN: %clangxx_tsan -O1 %s -o %t && %t 2>&1 | FileCheck %s -#include <stdio.h> -struct AAA { virtual long aaa () { return 0; } }; // NOLINT -struct BBB: virtual AAA { unsigned long bbb; }; // NOLINT -struct CCC: virtual AAA { }; -struct DDD: CCC, BBB { DDD(); }; // NOLINT -DDD::DDD() { } -int main() { - DDD d; - printf("OK\n"); -} -// CHECK: OK |