mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
8
test/CFrontend/2002-03-14-QuotesInStrConst.c
Normal file
8
test/CFrontend/2002-03-14-QuotesInStrConst.c
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* GCC was not escaping quotes in string constants correctly, so this would
|
||||||
|
* get emitted:
|
||||||
|
* %.LC1 = internal global [32 x sbyte] c"*** Word "%s" on line %d is not\00"
|
||||||
|
*/
|
||||||
|
|
||||||
|
const char *Foo() {
|
||||||
|
return "*** Word \"%s\" on line %d is not";
|
||||||
|
}
|
Reference in New Issue
Block a user