forked from OSchip/llvm-project
20 lines
344 B
Plaintext
20 lines
344 B
Plaintext
/*
|
|
RUN: linker-script-test %s 2> %t | FileCheck %s
|
|
RUN: FileCheck -input-file %t -check-prefix=CHECK-ERR %s
|
|
*/
|
|
|
|
|
|
EXTERN()
|
|
/*
|
|
CHECK-ERR: [[@LINE-2]]:8: error: expected one or more symbols in EXTERN.
|
|
CHECK-ERR-NEXT: {{^EXTERN()}}
|
|
CHECK-ERR-NEXT: {{^ \^}}
|
|
*/
|
|
|
|
/*
|
|
CHECK: kw_extern: EXTERN
|
|
CHECK: l_paren: (
|
|
CHECK: r_paren: )
|
|
CHECK: eof:
|
|
*/
|