gcc/testsuite/gdc.test/compilable/art4769.d
raw| 1 | // https://www.digitalmars.com/d/archives/digitalmars/D/bugs/4769.html |
| 2 | |
| 3 | // COMPILED_IMPORTS: imports/art4769a.d imports/art4769b.d |
| 4 | // PERMUTE_ARGS: |
| 5 | |
| 6 | module art4769; |
| 7 | |
| 8 | private import imports.art4769a; |
| 9 | |
| 10 | struct Vector(T) |
| 11 | { |
| 12 | DataStreamability!(T).footype f; |
| 13 | |
| 14 | static if (DataStreamability!(T).isStreamable) |
| 15 | void writeTo() |
| 16 | { |
| 17 | } |
| 18 | } |