mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
14 lines
380 B
D
14 lines
380 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail270.d(12): Error: string slice `[1 .. 0]` is out of bounds
|
|
fail_compilation/fail270.d(12): Error: mixin `fail270.Tuple!int.Tuple.Tuple!()` error instantiating
|
|
fail_compilation/fail270.d(14): Error: mixin `fail270.Tuple!int` error instantiating
|
|
---
|
|
*/
|
|
|
|
struct Tuple(TList...)
|
|
{
|
|
mixin .Tuple!((TList[1 .. $])) tail;
|
|
}
|
|
mixin Tuple!(int);
|