4 static void templ(void)
9 static void ocons(void)
11 asm("template" : [out
] string (var
) : [in
] "r" (0));
14 static void icons(void)
16 asm("template" : [out
] "=r" (var
): [in
] string (0));
19 static void oexpr(void)
21 asm("template" : [out
] "=" (var
[) : [in
] "r" (0));
24 static void iexpr(void)
26 asm("template" : [out
] "=r" (var
) : [in
] "r" (var
[));
30 * check-name: asm-bad0
33 asm-bad0.c:6:13: error: string literal expected for inline asm
34 asm-bad0.c:11:32: error: string literal expected for asm constraint
35 asm-bad0.c:16:49: error: string literal expected for asm constraint
36 asm-bad0.c:21:41: error: Expected ] at end of array dereference
37 asm-bad0.c:21:41: error: got )
38 asm-bad0.c:26:59: error: Expected ] at end of array dereference
39 asm-bad0.c:26:59: error: got )