Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / pch-hdrstop-warn.cpp
blobdbd592fb788f3fdd097cc8ba0e8b6ba749bcf097
1 // Create PCH with #pragma hdrstop
2 // RUN: %clang_cc1 -verify -I %S -emit-pch -pch-through-hdrstop-create \
3 // RUN: -fms-extensions -o %t.pch -x c++-header %s
5 // Create PCH object with #pragma hdrstop
6 // RUN: %clang_cc1 -verify -I %S -emit-obj -include-pch %t.pch \
7 // RUN: -pch-through-hdrstop-create -fms-extensions -o %t.obj -x c++ %s
9 //expected-warning@+1{{hdrstop filename not supported}}
10 #pragma hdrstop("name.pch")