add testcase for asm name
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 1 Sep 2008 00:35:38 +0000 (00:35 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 1 Sep 2008 00:35:38 +0000 (00:35 +0000)
[r21615]

parsetest/gnu99/asmname.c [new file with mode: 0644]

diff --git a/parsetest/gnu99/asmname.c b/parsetest/gnu99/asmname.c
new file mode 100644 (file)
index 0000000..c56ec53
--- /dev/null
@@ -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);
+}