fail21
auto fail21 =
q{
--- fail21
struct S {
u16 num;
}
// Test wrong constructor argument type
void test() {
S s = S("string");
}
--- <error>
fail21:6:11: Error: argument for member `num`, must have type u16, not u8[]
};
tests failing
functionsvariables