xref: /llvm-project/llvm/test/tools/llvm-ml/include_by_env_var_errors.asm (revision 4b5317e937ac5c87c30a67bc76a4e253c2c3516c)
1; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s --implicit-check-not=error:
2; RUN: env INCLUDE=%S not llvm-ml -filetype=s %s /X /Fo - 2>&1 | FileCheck %s --implicit-check-not=error:
3
4; CHECK: :[[# @LINE + 1]]:9: error: Could not find include file 'included.inc'
5include included.inc
6
7.code
8
9t1:
10mov eax, Const
11
12t2:
13; CHECK: :[[# @LINE + 1]]:1: error: invalid instruction mnemonic 'push_pop'
14push_pop ebx
15
16end
17