[OpenACC] Implement 'collapse' for combined constructs.
[llvm-project.git] / llvm / test / tools / llvm-ml / variable_redef_errors.asm
blobfaee829ee0fe7e60fbc16d58734c4233fa883b2b
1 ; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s --implicit-check-not=error:
3 .data
5 ; <var> EQU <expression> can't be redefined to a new value
6 equated_number equ 3
7 ; CHECK: :[[# @LINE + 1]]:21: error: invalid variable redefinition
8 equated_number equ 4
10 ; CHECK: :[[# @LINE + 1]]:1: error: cannot redefine a built-in symbol
11 @Line equ 5
13 ; CHECK: :[[# @LINE + 1]]:1: error: cannot redefine a built-in symbol
14 @Version equ 6
16 .code
18 end