1 // Test this without pch. 2 // RUN: %clang_cc1 -working-directory %S -I. -include working-directory.h %s -Wunused 3 4 // Test with pch. 5 // RUN: %clang_cc1 -working-directory %S -x c++-header -emit-pch -o %t.pch -I. working-directory.h 6 // RUN: %clang_cc1 -include-pch %t.pch -fsyntax-only %s -Wunused 7 8 void f() { 9 // Instantiating A<char> will trigger a warning, which will end up trying to get the path to 10 // the header that contains A. 11 A<char> b; 12 } 13