diff options
-rw-r--r-- | test/typeof-array.c | 2 | ||||
-rw-r--r-- | test/typeof-array.qbe | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/typeof-array.c b/test/typeof-array.c new file mode 100644 index 0000000..07ac863 --- /dev/null +++ b/test/typeof-array.c @@ -0,0 +1,2 @@ +int x[5]; +__typeof__(x) y; diff --git a/test/typeof-array.qbe b/test/typeof-array.qbe new file mode 100644 index 0000000..52fcc79 --- /dev/null +++ b/test/typeof-array.qbe @@ -0,0 +1,2 @@ +export data $x = align 4 { z 20 } +export data $y = align 4 { z 20 } |