| Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -faltivec -fsyntax-only %s |
| Bill Schmidt | 3e3d20b | 2013-07-03 20:54:09 +0000 | [diff] [blame] | 2 | |
| 3 | // PR16456: Verify that bool, true, false are treated as context-sensitive | ||||
| 4 | // keywords (and therefore available for use as identifiers) when in | ||||
| 5 | // Altivec mode. | ||||
| 6 | |||||
| 7 | typedef enum { | ||||
| 8 | false_value = 0, | ||||
| 9 | true_value = 1 | ||||
| 10 | } bool; | ||||
| 11 | |||||
| 12 | #define true true_value | ||||
| 13 | #define false false_value | ||||
| 14 | |||||