brintos

brintos / llvm-project-archived public Read only

0
0
Text · 618 B · ff0b1cc Raw
19 lines · plain
1## Test redefinition errors. MCAsmStreamer::emitLabel is different from MCObjectStreamer. Test both streamers.2# RUN: not llvm-mc -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:3# RUN: not llvm-mc -filetype=obj -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:4 5l:6.set l, .7# CHECK: [[#@LINE-1]]:9: error: redefinition of 'l'8 9.equiv a, undef10.set a, 311# CHECK: [[#@LINE-1]]:9: error: redefinition of 'a'12 13.equiv a, undef14# CHECK: [[#@LINE-1]]:11: error: redefinition of 'a'15 16.equiv b, undef17b:18# CHECK: [[#@LINE-1]]:1: error: symbol 'b' is already defined19