Bill Schmidt | 99a084b | 2013-07-03 20:54:09 +0000 | [diff] [blame^] | 1 | // RUN: %clang -target powerpc64-unknown-linux-gnu -maltivec -fsyntax-only %s |
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 |