mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 00:31:37 +00:00
7 lines
220 B
LLVM
7 lines
220 B
LLVM
; Test that redefinitions of globals produces an error in llvm-upgrade
|
|
; RUN: llvm-upgrade < %s -o /dev/null -f |& grep \
|
|
; RUN: "Renaming global variable 'B' to.*linkage errors"
|
|
|
|
%B = global int 7
|
|
%B = global int 7
|