mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Negating a global address with offset was a counted as a global runtime constant #2865 - Converting static "make_slice" to array failed to be handled #2866 - Narrowing a not expression was incorrectly handled #2867 - Vector shift by optional scalar failed #2868
8 lines
185 B
Plaintext
8 lines
185 B
Plaintext
<* @require main.kindof == SIGNED_INT *>
|
|
struct Foo <Type>
|
|
{}
|
|
|
|
fn int main()
|
|
{
|
|
Foo{double} d; // #error: Parameter(s) failed validation: @require "main.kindof == SIGNED_INT" violated
|
|
} |