Improve error message on incorrect inner struct/union name #1847.

This commit is contained in:
Christoffer Lerno
2025-01-15 10:54:50 +01:00
parent 70da1f748a
commit 7b2fe92241
3 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
struct Foo {
union Bar { // #error: name of an inner struct
int a;
}
}