1 // The standard is unclear about whether this testcase is well-formed.
2 // Clang considers it well-formed, EDG not. Let's go with EDG for now.
3 // { dg-do compile { target c++11 } }
6 using foo = typename T::bar; // { dg-error "this context" }
10 typedef int bar; // { dg-message "private" }
11 foo<B> f; // { dg-message "required" }