llvm-for-llvmta/tools/clang/test/ASTMerge/unnamed_fields/test.cpp

4 lines
263 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/il.cpp
// RUN: %clang_cc1 -ast-merge %t.1.ast -fsyntax-only %s 2>&1 | FileCheck --allow-empty %s
// CHECK-NOT: warning: field '' declared with incompatible types in different translation units ('bool' vs. 'int')