mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
24 lines
341 B
C
24 lines
341 B
C
|
|
fn int main()
|
|
{
|
|
do FOO:
|
|
{
|
|
while FOO: (1) // #error: would shadow a previous declaration
|
|
{
|
|
return 1;
|
|
}
|
|
};
|
|
return 0;
|
|
}
|
|
|
|
|
|
fn void test1()
|
|
{
|
|
do FOO:
|
|
{
|
|
while (1)
|
|
{
|
|
break BAR; // #error: Cannot find a labelled statement with the name 'BAR'
|
|
}
|
|
};
|
|
} |