blob: 88d78c88b2bdf4b3fa9382db9b1ec6be6f209c43 [file] [log] [blame]
Chandler Carruthb6531312014-01-15 09:08:07 +00001// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -faltivec -fsyntax-only %s
Bill Schmidt99a084b2013-07-03 20:54:09 +00002
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
7typedef enum {
8 false_value = 0,
9 true_value = 1
10} bool;
11
12#define true true_value
13#define false false_value
14