mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
14 lines
264 B
D
14 lines
264 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail11.d(12): Error: `int*` has no effect
|
|
---
|
|
*/
|
|
|
|
// https://forum.dlang.org/thread/c738o9$1p7i$1@digitaldaemon.com
|
|
|
|
void main()
|
|
{
|
|
TFoo!(int).t; // should produce a "no identifier" error.
|
|
}
|
|
template TFoo(T) { alias T* t; }
|