// PR c++/68049 // { dg-do compile { target c++11 } } template struct Bar { using type = T; }; template struct Foo { typedef typename Bar::type alias_type [[gnu::may_alias]]; alias_type operator()() { return {}; } }; template void print(T) {} int main() { print(Foo()()); print(0); return 0; }