summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/exprs.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-15 16:35:07 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-15 16:35:07 +0000
commit958dfc9bbd6a419c66b5e351545737d2a50eac05 (patch)
treefe5a363bfc2070736d8a2d71c7653b2ea4cc3605 /clang/test/PCH/exprs.h
parenta7b5e219bb5365b19f01c554b72c29cdde0e1244 (diff)
downloadbcm5719-llvm-958dfc9bbd6a419c66b5e351545737d2a50eac05.tar.gz
bcm5719-llvm-958dfc9bbd6a419c66b5e351545737d2a50eac05.zip
PCH support for string literals
llvm-svn: 69172
Diffstat (limited to 'clang/test/PCH/exprs.h')
-rw-r--r--clang/test/PCH/exprs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/PCH/exprs.h b/clang/test/PCH/exprs.h
index 49966a3c46f..73e15fb5a9f 100644
--- a/clang/test/PCH/exprs.h
+++ b/clang/test/PCH/exprs.h
@@ -13,6 +13,9 @@ typedef typeof(17l) long_literal;
// FloatingLiteral and ParenExpr
typedef typeof((42.5)) floating_literal;
+// StringLiteral
+const char *hello = "Hello" "PCH" "World";
+
// CharacterLiteral
typedef typeof('a') char_literal;
OpenPOWER on IntegriCloud