From e56d50bb88c984af8e1c45fa51aec3ee1f9f505d Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 22 Mar 2024 00:58:50 -0700 Subject: decl: Implement typeof_unqual --- test/typeof_unqual.c | 3 +++ test/typeof_unqual.qbe | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 test/typeof_unqual.c create mode 100644 test/typeof_unqual.qbe (limited to 'test') diff --git a/test/typeof_unqual.c b/test/typeof_unqual.c new file mode 100644 index 0000000..1c748df --- /dev/null +++ b/test/typeof_unqual.c @@ -0,0 +1,3 @@ +const int a; +int b; +typeof_unqual(a) b; diff --git a/test/typeof_unqual.qbe b/test/typeof_unqual.qbe new file mode 100644 index 0000000..1305c74 --- /dev/null +++ b/test/typeof_unqual.qbe @@ -0,0 +1,2 @@ +export data $a = align 4 { z 4 } +export data $b = align 4 { z 4 } -- cgit v1.2.3