summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/exprs.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-14 21:55:33 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-14 21:55:33 +0000
commite0a3a516375ee47e63c79535973594f6a3547077 (patch)
tree2f2ca40a1bcf9852e51869162598b1aad52be4e0 /clang/test/PCH/exprs.h
parent20a0c61487a3ad08f91c393b0546e3928763aa6f (diff)
downloadbcm5719-llvm-e0a3a516375ee47e63c79535973594f6a3547077.tar.gz
bcm5719-llvm-e0a3a516375ee47e63c79535973594f6a3547077.zip
Add PCH support for PredefinedExpr and FloatingLiteral expressions
llvm-svn: 69084
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