1; REQUIRES: asserts 2; Force the size to be small to check assertion message. 3; RUN: not --crash opt -S %s -O2 -o - -non-global-value-max-name-size=0 2>&1 | FileCheck %s 4; CHECK: Can't generate unique name: MaxNameSize is too small. 5 6define i32 @f(i32 %a, i32 %b) { 7 %c = add i32 %a, %b 8 %d = add i32 %c, %a 9 %e = add i32 %d, %b 10 ret i32 %e 11} 12