Eric Christopher | 3a98b3c | 2015-08-27 19:59:34 +0000 | [diff] [blame] | 1 | // RUN: not %clang_cc1 -triple powerpc64le-linux-gnu -emit-llvm %s -o - |
2 | |||||
Eric Christopher | 3751bce | 2015-08-27 20:05:48 +0000 | [diff] [blame] | 3 | long __attribute__((target("power8-vector,no-vsx"))) foo (void) { return 0; } // expected-error {{option '-mpower8-vector' cannot be specified with '-mno-vsx'}} |
Eric Christopher | 3a98b3c | 2015-08-27 19:59:34 +0000 | [diff] [blame] | 4 |