mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Updated casts (#684)
Cast code rework. Remove llvm_set_bool and friends.
This commit is contained in:
committed by
GitHub
parent
e2b4a19c81
commit
f46697bc54
@@ -5,8 +5,7 @@ char[] str3 = "hello";
|
||||
|
||||
int[2] a1 = { 1, 2 };
|
||||
|
||||
int[2] a2 = 30; // #error: 'int' into 'int[2]'
|
||||
// TODO int[2] a3 = a1;
|
||||
int[2] a2 = 30; // #error: 'int' to 'int[2]'
|
||||
|
||||
ichar[*] a; // #error: Inferred array types can only be used in declarations with initializers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user