diff options
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/gl-33-ext.slang | 2 | ||||
| -rw-r--r-- | tests/bugs/optional.slang | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/gl-33-ext.slang b/tests/bugs/gl-33-ext.slang index fccde99a3..6df9f286a 100644 --- a/tests/bugs/gl-33-ext.slang +++ b/tests/bugs/gl-33-ext.slang @@ -4,5 +4,5 @@ public struct A { public int state; - [mutating] public int next() { return state; } + public int next() { return state; } }; diff --git a/tests/bugs/optional.slang b/tests/bugs/optional.slang index 3512ba29f..7a220b23d 100644 --- a/tests/bugs/optional.slang +++ b/tests/bugs/optional.slang @@ -14,7 +14,7 @@ struct P } struct Tr { - int test<T:IArithmetic>(T t, inout P p) + int test<T:IArithmetic>(T t, P p) { const IFoo hit = p.f; let castResult = hit as S; |
