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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/PCH/exprs.h b/clang/test/PCH/exprs.h
index db6513c35bd..36660cc0a49 100644
--- a/clang/test/PCH/exprs.h
+++ b/clang/test/PCH/exprs.h
@@ -6,9 +6,13 @@ enum Enum { Enumerator = 18 };
typedef typeof(i) int_decl_ref;
typedef typeof(Enumerator) enum_decl_ref;
-// IntegerLiteralExpr
+// IntegerLiteral
typedef typeof(17) integer_literal;
typedef typeof(17l) long_literal;
-// CharacterLiteralExpr
+// FloatingLiteral
+typedef typeof(42.5) floating_literal;
+
+// CharacterLiteral
typedef typeof('a') char_literal;
+
OpenPOWER on IntegriCloud