xref: /llvm-project/llvm/test/Assembler/non-global-value-max-name-size.ll (revision 24a08593b946ac78c54c57dc52ec005bd7c44aaa)
1; RUN: opt < %s -S -non-global-value-max-name-size=5
2; RUN: not opt < %s -S -non-global-value-max-name-size=4 2>&1 | FileCheck %s
3
4; CHECK: name is too long
5
6define void @f() {
7bb0:
8  br label %testz
9
10testz:
11  br label %testa
12
13testa:
14  br label %testz
15}
16