llvm-for-llvmta/tools/clang/test/Driver/reloc-model.c

5 lines
214 B
C

// RUN: not %clang -cc1 -mrelocation-model tinkywinky \
// RUN: -emit-llvm %s 2>&1 | FileCheck -check-prefix CHECK-INVALID %s
// CHECK-INVALID: error: invalid value 'tinkywinky' in '-mrelocation-model tinkywinky'