forked from OSchip/llvm-project
23 lines
408 B
Plaintext
23 lines
408 B
Plaintext
/*
|
|
RUN: linker-script-test %s 2> %t | FileCheck %s
|
|
RUN: FileCheck -input-file %t -check-prefix=CHECK-ERR %s
|
|
*/
|
|
|
|
|
|
EXTERN(a b 3)
|
|
/*
|
|
CHECK-ERR: [[@LINE-2]]:12: error: expected symbol in EXTERN.
|
|
CHECK-ERR-NEXT: {{^EXTERN\(a b 3\)}}
|
|
CHECK-ERR-NEXT: {{^ \^}}
|
|
*/
|
|
|
|
/*
|
|
CHECK: kw_extern: EXTERN
|
|
CHECK: l_paren: (
|
|
CHECK: identifier: a
|
|
CHECK: identifier: b
|
|
CHECK: number: 3
|
|
CHECK: r_paren: )
|
|
CHECK: eof:
|
|
*/
|