gcc/testsuite/g++.dg/modules/using-13.h
raw| 1 | // Like using-11.h, but additional kinds of declarations. |
| 2 | |
| 3 | struct A {}; |
| 4 | |
| 5 | template <typename> struct B {}; |
| 6 | template <> struct B<int> { using foo = int; }; |
| 7 | template <typename T> struct B<T*> { using bar = T; }; |
| 8 | |
| 9 | using C = int; |
| 10 | |
| 11 | inline int D = 0; |
| 12 | |
| 13 | #if __cpp_concepts >= 201907L |
| 14 | template <typename> |
| 15 | concept E = true; |
| 16 | #endif |