llvm-project/clang/test/Import/conflicting-struct/test.cpp

8 lines
155 B
C++

// RUN: clang-import-test --import %S/Inputs/S1.cpp --import %S/Inputs/S2.cpp -expression %s
void expr() {
S MyS;
T MyT;
MyS.a = 3;
MyT.u.b = 2;
}