1 // bindgen-flags: -- -std=c++14 2 3 template <typename T> 4 struct Foo { 5 template <typename> using FirstAlias = typename T::Associated; 6 template <typename U> using SecondAlias = Foo<FirstAlias<U>>; 7 8 #if 0 9 // FIXME: This regressed sometime between libclang 9 and 16, though it 10 // never quite worked properly so... 11 SecondAlias<int> member; 12 #else 13 SecondAlias<int>* member; 14 #endif 15 }; 16