From: Ovidiu Predescu Date: Sun, 30 Jul 2000 05:45:10 +0000 (+0000) Subject: Added to test Objective-C strings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb2a508138fd925d9e93725bcd87e17cc5a98b79;p=gcc.git Added to test Objective-C strings. From-SVN: r35333 --- diff --git a/gcc/testsuite/objc/execute/string1.m b/gcc/testsuite/objc/execute/string1.m new file mode 100644 index 00000000000..f0d14731836 --- /dev/null +++ b/gcc/testsuite/objc/execute/string1.m @@ -0,0 +1,8 @@ +#include +#include + +int main(int argc, void **args) +{ + printf ([@"this is a string\n" cString]); + return 0; +} diff --git a/gcc/testsuite/objc/execute/string2.m b/gcc/testsuite/objc/execute/string2.m new file mode 100644 index 00000000000..247e22bc3d6 --- /dev/null +++ b/gcc/testsuite/objc/execute/string2.m @@ -0,0 +1,8 @@ +#include +#include + +int main(int argc, void **args) +{ + printf ([@"this " @"is " @"a " @"string\n" cString]); + return 0; +}