aboutsummaryrefslogtreecommitdiffstats
path: root/test/export/issue319.c
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2021-09-27 10:13:01 +0200
committerGitHub <noreply@github.com>2021-09-27 10:13:01 +0200
commit627ab2dbe51decddff281d986367d0790643dd40 (patch)
tree5c337843b85eebb3c149f6f8858090876cee381e /test/export/issue319.c
parent43b7e02101a0f2a8cd3b3b75297371419a67e996 (diff)
parentb8ebdff476c716ec521d9771bf79b5ed1fd6b778 (diff)
downloadcompcert-kvx-627ab2dbe51decddff281d986367d0790643dd40.tar.gz
compcert-kvx-627ab2dbe51decddff281d986367d0790643dd40.zip
Merge pull request #413 from AbsInt/new-export
Add support to clightgen for generating Csyntax AST as .v files
Diffstat (limited to 'test/export/issue319.c')
-rw-r--r--test/export/issue319.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/export/issue319.c b/test/export/issue319.c
new file mode 100644
index 00000000..be9f3f7e
--- /dev/null
+++ b/test/export/issue319.c
@@ -0,0 +1,12 @@
+/* Dollar signs in identifiers */
+
+int c$d = 42;
+
+int a$b(int x$$) {
+ return c$d + x$$;
+}
+
+int main(int argc, const char *argv[])
+{
+ return a$b(6);
+}