Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/cpp0x/alias-decl-18.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 // Origin: PR c++/51541 |
2 // { dg-do compile { target c++11 } } | |
3 | |
4 template<typename Z> using ::T = void(int n); // { dg-error "" } | |
5 template<typename Z> using operator int = void(int n); // { dg-error "" } | |
6 template<typename Z> using typename U = void; // { dg-error "" } | |
7 template<typename Z> using typename ::V = void(int n); // { dg-error "" } | |
145 | 8 template<typename Z> using typename ::operator bool = void(int n); // { dg-error "39:declaration" } |
9 // { dg-error "expected" "" { target *-*-* } .-1 } | |
111 | 10 using foo __attribute__((aligned(4)) = int; // { dg-error "" } |