mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
15 lines
190 B
C
15 lines
190 B
C
struct Foo
|
|
{
|
|
Foo *x;
|
|
int y;
|
|
}
|
|
|
|
def Foo = float; // #error: shadow a previous declaration
|
|
|
|
enum Bar
|
|
{
|
|
TEST1,
|
|
TEST2
|
|
}
|
|
|
|
def Bar = float; // #error: shadow a previous declaration
|