diff options
Diffstat (limited to 'test/Driver/reloc-model.c')
-rw-r--r-- | test/Driver/reloc-model.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/reloc-model.c b/test/Driver/reloc-model.c new file mode 100644 index 000000000000..5d08eee89be3 --- /dev/null +++ b/test/Driver/reloc-model.c @@ -0,0 +1,4 @@ +// 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' |