mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- $defined(hashmap.init(mem)) causes compiler segfault #2611.
This commit is contained in:
7
test/unit/regression/defined_ct.c3
Normal file
7
test/unit/regression/defined_ct.c3
Normal file
@@ -0,0 +1,7 @@
|
||||
module defined_call;
|
||||
import std;
|
||||
|
||||
HashMap {String, int} val;
|
||||
const bool V = $defined(val.init(mem));
|
||||
|
||||
fn void main() {}
|
||||
Reference in New Issue
Block a user