mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Fix decl attribute in the wrong place causing an assertion. #2581
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
module foo;
|
||||
|
||||
typedef Int = int @structlike; // #error: Expected only attribute
|
||||
|
||||
fn int main() => 0;
|
||||
Reference in New Issue
Block a user