[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AsmParser / hash-directive.s
blob4c242fd9a0c81e06c68c7fa0ccf789c6bae62e5f
1 # RUN: not llvm-mc -triple i386-unknown-unknown %s 2>&1 | FileCheck %s
2 error
3 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
4 # 3 "FILE1" 1 #<- This is a CPP Hash w/ comment
5 error
6 # CHECK: FILE1:3:1: error
7 # 0 "" 2 #<- This is too
8 error
9 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
10 # 1 "FILE2" 2 #<- This is a comment
11 error
12 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
13 nop; # 6 "FILE3" 2 #<- This is a still comment
14 error
15 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
16 nop;# 6 "FILE4" 2
17 nop;
18 error
19 # CHECK: FILE4:7:1: error
20 # 0 "" 2
21 /*comment*/# 6 "FILE5" 2 #<- This is a comment
22 error
23 # CHECK: hash-directive.s:[[@LINE-1]]:1: error