summaryrefslogtreecommitdiffstats
path: root/tests/preprocessor/pragma-warning/multi-specifiers-1.slang
blob: 7c299ed131f9a7a27a3a59833c726f88c31a28e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//TEST:SIMPLE(filecheck=CHECK):
// #ifdef support

int64_t GetValue();

void f()
{
	int i;
#pragma warning (disable : 30081 ; error : 30081)
	// CHECK: ([[# @LINE+1]]): error 30081:
	i = GetValue();
}

// Test that the last specifier is applied