You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
638 B
24 lines
638 B
# RUN: not llvm-mc -triple i386-unknown-unknown %s 2>&1 | FileCheck %s
|
|
error
|
|
# CHECK: hash-directive.s:[[@LINE-1]]:1: error
|
|
# 3 "FILE1" 1 #<- This is a CPP Hash w/ comment
|
|
error
|
|
# CHECK: FILE1:3:1: error
|
|
# 0 "" 2 #<- This is too
|
|
error
|
|
# CHECK: hash-directive.s:[[@LINE-1]]:1: error
|
|
# 1 "FILE2" 2 #<- This is a comment
|
|
error
|
|
# CHECK: hash-directive.s:[[@LINE-1]]:1: error
|
|
nop; # 6 "FILE3" 2 #<- This is a still comment
|
|
error
|
|
# CHECK: hash-directive.s:[[@LINE-1]]:1: error
|
|
nop;# 6 "FILE4" 2
|
|
nop;
|
|
error
|
|
# CHECK: FILE4:7:1: error
|
|
# 0 "" 2
|
|
/*comment*/# 6 "FILE5" 2 #<- This is a comment
|
|
error
|
|
# CHECK: hash-directive.s:[[@LINE-1]]:1: error
|