Mercurial > hg > CbC > CbC_llvm
annotate clang/test/PCH/pch-hdrstop-warn.cpp @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 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") |