aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/aligned_attribute.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/fail_compilation/aligned_attribute.elna')
-rw-r--r--testsuite/fail_compilation/aligned_attribute.elna6
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/fail_compilation/aligned_attribute.elna b/testsuite/fail_compilation/aligned_attribute.elna
index aab5513..46a9b94 100644
--- a/testsuite/fail_compilation/aligned_attribute.elna
+++ b/testsuite/fail_compilation/aligned_attribute.elna
@@ -1,3 +1,4 @@
+module
type
Uneven = record
x #{aligned 3}: Word8 (* @Error Alignment must be a power of two *)
@@ -10,11 +11,6 @@ type
end
proc takes(p #{aligned 8}: Int) (* @Error Attribute 'aligned' is not supported in this position *)
-begin
return
-program()
-begin
-return 0u8
-
end.