blob: a6265dc9ff0169b46706c0277db9c4db1d2a514d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//TEST:SIMPLE(filecheck=CHECK):
// #ifdef support
#pragma warning (push)
#pragma warning (error : 30081)
int64_t GetValue();
#pragma warning (pop)
void f()
{
int i;
// CHECK: ([[# @LINE+1]]): warning 30081:
i = GetValue();
}
// Test that #pragma warning (push) and (pop) work as expected
|