aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-14 23:34:17 +0000
committerChris Lattner <sabre@nondot.org>2003-05-14 23:34:17 +0000
commit07f2e54d120e3f0cdb6dbf2c1030f436353da699 (patch)
tree2b553cf7573118ccd2007ea479046a9eda2048d1 /test
parent9148ec65c280aff56524cdc02622db7105ae6c34 (diff)
downloadexternal_llvm-07f2e54d120e3f0cdb6dbf2c1030f436353da699.zip
external_llvm-07f2e54d120e3f0cdb6dbf2c1030f436353da699.tar.gz
external_llvm-07f2e54d120e3f0cdb6dbf2c1030f436353da699.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/C++Frontend/2003-05-14-initialize-string.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/C++Frontend/2003-05-14-initialize-string.c b/test/C++Frontend/2003-05-14-initialize-string.c
new file mode 100644
index 0000000..543b13c
--- /dev/null
+++ b/test/C++Frontend/2003-05-14-initialize-string.c
@@ -0,0 +1,6 @@
+
+int main() {
+ char title[] = "foo and stuff\n";
+ printf("%s", title);
+ return 0;
+}