diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2021-09-16 14:54:22 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2021-09-22 16:06:39 +0200 |
commit | dffc9885e54f9c68af23ec79023dfe8516a4cc32 (patch) | |
tree | f7a3755303b6a14b039d90f335d4b860da93ac1e /test/clightgen/issue319.c | |
parent | d32955030937937706b71a96dc6584800f0b8722 (diff) | |
download | compcert-dffc9885e54f9c68af23ec79023dfe8516a4cc32.tar.gz compcert-dffc9885e54f9c68af23ec79023dfe8516a4cc32.zip |
Add support to clightgen for generating Csyntax AST as .v files
As proposed in #404.
This is presented as a new option `-clight` to the existing `clightgen` tool.
Revise clightgen testing to test the Csyntax output in addition to
the Clight output.
Diffstat (limited to 'test/clightgen/issue319.c')
-rw-r--r-- | test/clightgen/issue319.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/clightgen/issue319.c b/test/clightgen/issue319.c deleted file mode 100644 index be9f3f7e..00000000 --- a/test/clightgen/issue319.c +++ /dev/null @@ -1,12 +0,0 @@ -/* 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); -} |