mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Support "typedef"
This commit is contained in:
committed by
Christoffer Lerno
parent
b7e19b75d0
commit
df77b692d6
@@ -4,7 +4,7 @@ struct Foo
|
||||
int y;
|
||||
}
|
||||
|
||||
define Foo = float; // #error: shadow a previous declaration
|
||||
typedef Foo = float; // #error: shadow a previous declaration
|
||||
|
||||
enum Bar
|
||||
{
|
||||
@@ -12,4 +12,4 @@ enum Bar
|
||||
TEST2
|
||||
}
|
||||
|
||||
define Bar = float; // #error: shadow a previous declaration
|
||||
typedef Bar = float; // #error: shadow a previous declaration
|
||||
Reference in New Issue
Block a user