mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Cleanup of naming change to optional. Fix of builtin optional handling.
This commit is contained in:
8
test/test_suite/builtins/builtin_with_optional.c3
Normal file
8
test/test_suite/builtins/builtin_with_optional.c3
Normal file
@@ -0,0 +1,8 @@
|
||||
fn void main()
|
||||
{
|
||||
float x;
|
||||
x = $$fma(x, x, x);
|
||||
float! y;
|
||||
y = $$fma(x, x, y);
|
||||
x = $$fma(x, x, y); // #error: 'float!'
|
||||
}
|
||||
Reference in New Issue
Block a user