| 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 |
| 4 | |
| 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 |
| 8 | |
| 9 | //expected-warning@+1{{hdrstop filename not supported}} |
| 10 | #pragma hdrstop("name.pch") |
| 11 |