diff options
Diffstat (limited to 'tests/functions.bad')
-rw-r--r-- | tests/functions.bad | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functions.bad b/tests/functions.bad index 3149a24..8286908 100644 --- a/tests/functions.bad +++ b/tests/functions.bad | |||
@@ -24,6 +24,6 @@ fun baz(a: int, b: str): (int, str) { | |||
24 | } | 24 | } |
25 | 25 | ||
26 | ; Make sure we can use pointer types on params and return values. | 26 | ; Make sure we can use pointer types on params and return values. |
27 | fun test(a: @int[256], b: @str): @int { | 27 | fun test(a: int[256], b: @str): @int { |
28 | a | 28 | @a[32] |
29 | } | 29 | } |