annotate clang/test/Parser/altivec-csk-bool.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -target-feature +altivec -fsyntax-only %s
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -target-feature +altivec -fsyntax-only %s
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 // PR16456: Verify that bool, true, false are treated as context-sensitive
anatofuz
parents:
diff changeset
5 // keywords (and therefore available for use as identifiers) when in
anatofuz
parents:
diff changeset
6 // Altivec mode.
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 typedef enum {
anatofuz
parents:
diff changeset
9 false_value = 0,
anatofuz
parents:
diff changeset
10 true_value = 1
anatofuz
parents:
diff changeset
11 } bool;
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 #define true true_value
anatofuz
parents:
diff changeset
14 #define false false_value
anatofuz
parents:
diff changeset
15