[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / typo3.cpp
blobc28603940046907284125693cf00bd1a763c69d0
1 // RUN: not %clang_cc1 -emit-pch %s -o %t.pch 2>&1 | FileCheck %s
3 struct S {
4 // Make sure TypoExprs in default init exprs are corrected before serializing
5 // in PCH.
6 int y = bar;
7 // CHECK: use of undeclared identifier 'bar'
8 };