diff options
Diffstat (limited to 'tests/conformance/1-source/ident_non_letter_start.zc')
| -rw-r--r-- | tests/conformance/1-source/ident_non_letter_start.zc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/conformance/1-source/ident_non_letter_start.zc b/tests/conformance/1-source/ident_non_letter_start.zc new file mode 100644 index 0000000..4de3ca2 --- /dev/null +++ b/tests/conformance/1-source/ident_non_letter_start.zc @@ -0,0 +1,5 @@ +// expect error: zc: line +// spec 1.3.1: an identifier starts with a letter or underscore +include rt; +void pn(int x) { rt.put_n(x); rt.put_c(10); } +fn main() { int 9a = 1; return 0; } |
