bolt/deps/llvm-18.1.8/clang/test/PCH/typo3.cpp

9 lines
236 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: not %clang_cc1 -emit-pch %s -o %t.pch 2>&1 | FileCheck %s
struct S {
// Make sure TypoExprs in default init exprs are corrected before serializing
// in PCH.
int y = bar;
// CHECK: use of undeclared identifier 'bar'
};