mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
14 lines
346 B
D
14 lines
346 B
D
// https://issues.dlang.org/show_bug.cgi?id=22765
|
|
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test22765.d(14): Error: template instance `test22765.Template!null` internal compiler error: C++ `null` template value parameter is not supported
|
|
---
|
|
*/
|
|
|
|
template Template(T...)
|
|
{
|
|
extern(C++) const __gshared int Template = 0;
|
|
}
|
|
auto x = Template!(null);
|