Chandler Carruth | b653131 | 2014-01-15 09:08:07 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -faltivec -fsyntax-only %s |
Bill Schmidt | 1cf7c64 | 2014-06-13 18:30:06 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -faltivec -fsyntax-only %s |
Bill Schmidt | 99a084b | 2013-07-03 20:54:09 +0000 | [diff] [blame] | 3 | |
| 4 | // PR16456: Verify that bool, true, false are treated as context-sensitive |
| 5 | // keywords (and therefore available for use as identifiers) when in |
| 6 | // Altivec mode. |
| 7 | |
| 8 | typedef enum { |
| 9 | false_value = 0, |
| 10 | true_value = 1 |
| 11 | } bool; |
| 12 | |
| 13 | #define true true_value |
| 14 | #define false false_value |
| 15 | |