Lines Matching full:pragma
8 #pragma comment(linker,"foo=" FOO) // expected-error {{pragma comment requires parenthesized identifier and optional string}}
9 #pragma comment(linker," bar=" BAR)
11 #pragma comment( user, "Compiled on " __DATE__ " at " __TIME__ )
13 #pragma comment(foo) // expected-error {{unknown kind of pragma comment}}
14 #pragma comment(compiler,) // expected-error {{expected string literal in pragma comment}}
16 #pragma comment(foo) // macro expand kind.
17 #pragma comment(foo) x // expected-error {{pragma comment requires}}
19 #pragma comment(user, "foo\abar\nbaz\tsome thing")
21 #pragma detect_mismatch("test", "1")
22 #pragma detect_mismatch() // expected-error {{expected string literal in pragma detect_mismatch}}
23 #pragma detect_mismatch("test") // expected-error {{pragma detect_mismatch is malformed; it requires two comma-separated string literals}}
24 #pragma detect_mismatch("test", 1) // expected-error {{expected string literal in pragma detect_mismatch}}
25 #pragma detect_mismatch("test", BAR)
51 #pragma include_alias("test.h", "macro_arg_directive.h" )
57 #pragma include_alias(<bar.h>, "bar.h") // expected-warning {{angle-bracketed include <bar.h> cannot be aliased to double-quoted include "bar.h"}}
58 #pragma include_alias("foo.h", <bar.h>) // expected-warning {{double-quoted include "foo.h" cannot be aliased to angle-bracketed include <bar.h>}}
59 #pragma include_alias("test.h") // expected-warning {{pragma include_alias expected ','}}
63 #pragma include_alias(".\pp-record.h", "does_not_exist.h")
66 #pragma include_alias(12) // expected-warning {{pragma include_alias expected include filename}}
72 #pragma include_alias(<bar.h>, <stdio.h>)
73 #pragma include_alias("bar.h", "pr2086.h") // This should #undef test
78 #pragma include_alias("test.h")
83 #pragma include_alias("quux.h", B)
88 #pragma include_alias("", "foo.h") // expected-error {{empty filename}}
89 #pragma include_alias(<foo.h>, <>) // expected-error {{empty filename}}