mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
22 lines
453 B
Plaintext
22 lines
453 B
Plaintext
module test;
|
|
import std;
|
|
alias ListStr = List{String};
|
|
fn void test()
|
|
{
|
|
List<String> a = List<...>.new_init(); // #error: An expression was expected
|
|
}
|
|
|
|
fn void test2()
|
|
{
|
|
List{String} a = List<...>.new_init(); // #error: An expression was expected
|
|
}
|
|
|
|
fn void test3()
|
|
{
|
|
List{String} a = List{...}.new_init(); // #error: An expression was expected
|
|
}
|
|
|
|
fn void main()
|
|
{
|
|
List<String> a = List<String>.new_init(); // #error: An expression was expected
|
|
} |