summaryrefslogtreecommitdiff
path: root/tools/asm-processor/tests/line-continuation.c
blob: d5ab093722266c0178e320fd0889fa96624c61cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
void foo(void) { "abcdef"; }

GLOBAL_ASM(
.rdata
    .ascii "AB" \
    "CD", "EF"
    .ascii "GH\n\n\n\0\11\222\3333\44444\x1234567\n\nIJK"
)

void bar(void) { "hello"; }

GLOBAL_ASM(
.rdata
    .asciiz "1\
2"
    .asciiz "34", "56"
    .asciiz "78\n\n\n\0\11\222\3333\44444\x1234567\n\n9A"
)

void baz(void) { "ghijkl"; }

GLOBAL_ASM("tests/line-continuation-separate-file.s")