aboutsummaryrefslogtreecommitdiff
path: root/tests/sysy_lvX/054_hex_defn.sy
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sysy_lvX/054_hex_defn.sy')
-rw-r--r--tests/sysy_lvX/054_hex_defn.sy6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sysy_lvX/054_hex_defn.sy b/tests/sysy_lvX/054_hex_defn.sy
new file mode 100644
index 0000000..3f20fdf
--- /dev/null
+++ b/tests/sysy_lvX/054_hex_defn.sy
@@ -0,0 +1,6 @@
+// test hexadecimal define
+int main(){
+ int a;
+ a = 0xf;
+ return a;
+} \ No newline at end of file