summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/exprs.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/exprs.h')
-rw-r--r--clang/test/PCH/exprs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/PCH/exprs.h b/clang/test/PCH/exprs.h
index 9637b6ed62d..f02a24902fb 100644
--- a/clang/test/PCH/exprs.h
+++ b/clang/test/PCH/exprs.h
@@ -60,3 +60,12 @@ typedef typeof((void *)0) void_ptr;
typedef __attribute__(( ext_vector_type(2) )) double double2;
double2 vec2;
typedef typeof(vec2.x) ext_vector_element;
+
+// TypesCompatibleExpr
+typedef typeof(__builtin_types_compatible_p(float, double)) types_compatible;
+
+// ChooseExpr
+typedef typeof(__builtin_choose_expr(17 > 19, d0, 1)) choose_expr;
+
+// GNUNullExpr FIXME: needs C++
+// typedef typeof(__null) null_type;
OpenPOWER on IntegriCloud