gcc/testsuite/gdc.test/compilable/dtoh_AliasDeclaration_98.d
raw| 1 | /* |
| 2 | REQUIRED_ARGS: -HC=verbose -extern-std=c++98 -o- |
| 3 | TEST_OUTPUT: |
| 4 | --- |
| 5 | // Automatically generated by Digital Mars D Compiler v$n$ |
| 6 | |
| 7 | #pragma once |
| 8 | |
| 9 | #include <assert.h> |
| 10 | #include <math.h> |
| 11 | #include <stddef.h> |
| 12 | #include <stdint.h> |
| 13 | |
| 14 | template <typename T, typename U> |
| 15 | struct TS final |
| 16 | { |
| 17 | TS() |
| 18 | { |
| 19 | } |
| 20 | }; |
| 21 | |
| 22 | // Ignored dtoh_AliasDeclaration_98.TSD because `using` declarations require C++ 11 |
| 23 | --- |
| 24 | */ |
| 25 | |
| 26 | extern(C++): |
| 27 | |
| 28 | struct TS(T, U) {} |
| 29 | alias TSD = TS; |