aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/non-global-value-max-name-size.ll
blob: dd56286baa9738ead58fd3f4badbea5659c5a593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: opt < %s -S -non-global-value-max-name-size=5
; RUN: not opt < %s -S -non-global-value-max-name-size=4 2>&1 | FileCheck %s

; CHECK: name is too long

define void @f() {
bb0:
  br label %testz

testz:
  br label %testa

testa:
  br label %testz
}