forked from OSchip/llvm-project
30 lines
499 B
Plaintext
30 lines
499 B
Plaintext
|
/*
|
||
|
RUN: linker-script-test %s | FileCheck %s
|
||
|
*/
|
||
|
|
||
|
EXTERN(a)
|
||
|
EXTERN(a b)
|
||
|
EXTERN(_foo _bar _baz)
|
||
|
|
||
|
/*
|
||
|
CHECK: kw_extern: EXTERN
|
||
|
CHECK: l_paren: (
|
||
|
CHECK: identifier: a
|
||
|
CHECK: r_paren: )
|
||
|
CHECK: kw_extern: EXTERN
|
||
|
CHECK: l_paren: (
|
||
|
CHECK: identifier: a
|
||
|
CHECK: identifier: b
|
||
|
CHECK: r_paren: )
|
||
|
CHECK: kw_extern: EXTERN
|
||
|
CHECK: l_paren: (
|
||
|
CHECK: identifier: _foo
|
||
|
CHECK: identifier: _bar
|
||
|
CHECK: identifier: _baz
|
||
|
CHECK: r_paren: )
|
||
|
CHECK: eof:
|
||
|
CHECK: EXTERN(a)
|
||
|
CHECK: EXTERN(a b)
|
||
|
CHECK: EXTERN(_foo _bar _baz)
|
||
|
*/
|