| 1 |
// PR c++/5723, PR c++/8522 |
| 2 |
// Origin: Matthias Kleinmann, Peter Karl Mueller <[email protected]> |
| 3 |
// { dg-do compile } |
| 4 |
|
| 5 |
template <typename T> class A; |
| 6 |
template <typename T> class A<T>::B; // { dg-error "declaration" "err" } |
| 7 |
// { dg-warning "declaration" "warn" { target *-*-* } .-1 } |