mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Improve error message on incorrect inner struct/union name #1847.
This commit is contained in:
5
test/test_suite/struct/inner_struct_name.c3
Normal file
5
test/test_suite/struct/inner_struct_name.c3
Normal file
@@ -0,0 +1,5 @@
|
||||
struct Foo {
|
||||
union Bar { // #error: name of an inner struct
|
||||
int a;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user