c29e37ad4c
Change-Id: I528d2b7a53748077f2dd7e7e04927d2a6b78ac8f Bug: skia:13042 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/523429 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Arman Uguray <armansito@google.com> Commit-Queue: Arman Uguray <armansito@google.com>
16 lines
268 B
Plaintext
16 lines
268 B
Plaintext
// Expect 4 errors
|
|
|
|
struct S {
|
|
void a;
|
|
void b[2];
|
|
void[2] c;
|
|
void[2] d[2];
|
|
};
|
|
|
|
/*%%*
|
|
type 'void' may not be used in an array
|
|
type 'void' may not be used in an array
|
|
type 'void' may not be used in an array
|
|
type 'void' is not permitted in a struct
|
|
*%%*/
|