Reid Kleckner | 56f8451 | 2015-04-01 23:32:03 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s -triple x86_64-apple-darwin |
2 | |||||
3 | // expected-error@+1 {{argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma}} | ||||
4 | #pragma data_seg(".my_const") | ||||
5 | int a = 1; | ||||
6 | #pragma data_seg("__THINGY,thingy") | ||||
7 | int b = 1; |