1 ## Verifies that input without relocations is rejected in relocs mode.
3 ## This test uses the clang driver without target flags and will only succeed
4 ## on Linux systems where the host triple matches the target.
7 RUN: %clang %cflags %S/Inputs/icf-jump-tables.c -o %t
8 RUN: not llvm-bolt %t -o %t.null --relocs 2>&1 | FileCheck %s
10 CHECK: BOLT-ERROR: relocations against code are missing from the input file.