From: Michael Beck Date: Mon, 1 Sep 2008 00:35:38 +0000 (+0000) Subject: add testcase for asm name X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=2e4917770e7ebe2b94f29f2b1034061d2f6e50a9;p=cparser add testcase for asm name [r21615] --- diff --git a/parsetest/gnu99/asmname.c b/parsetest/gnu99/asmname.c new file mode 100644 index 0000000..c56ec53 --- /dev/null +++ b/parsetest/gnu99/asmname.c @@ -0,0 +1,11 @@ +int foo asm ("myfoo") = 0; + +extern func () asm ("FUNC"); + +int func(int x) { + return x; +} + +int main(int argc, char *argv[]) { + return func(foo); +}