blob: c61ed80cbf7a9dc065c4aa7494c5fbcc34c6de1c [file] [log] [blame]
Chris Lattner797c3c42009-08-10 19:03:04 +00001// RUN: clang-cc -verify -fsyntax-only -triple x86_64-apple-darwin9 %s
2
3int x __attribute__((section(
4 42))); // expected-error {{argument to section attribute was not a string literal}}
5
6
7// rdar://4341926
8int y __attribute__((section(
9 "sadf"))); // expected-error {{mach-o section specifier requires a segment and section separated by a comma}}
10