1# Check that a function that references a label inside itself,
2# as in the case of vararg handling code generated by GCC 4.5
3# and earlier, is recognized as multi-entry.
4
5REQUIRES: x86_64-linux
6
7RUN: %clangxx %cxxflags -no-pie %p/../Inputs/vararg.s -o %t -Wl,-q
8RUN: llvm-bolt %t -o /dev/null --print-cfg --print-only=.*printf.* |& FileCheck %s
9
10CHECK: IsSimple    : 0
11CHECK: Entry Point
12CHECK: Entry Point
13