1 // Regression test for https://github.com/google/sanitizers/issues/410.
2 // The C++ variant is much more compact that the LLVM IR equivalent.
4 // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
7 virtual long aaa() { return 0; }
9 struct BBB
: virtual AAA
{
12 struct CCC
: virtual AAA
{ };
13 struct DDD
: CCC
, BBB
{
19 fprintf(stderr
, "OK\n");