https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65969
Haoxin Tu <haoxintu at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |haoxintu at gmail dot com --- Comment #3 from Haoxin Tu <haoxintu at gmail dot com> --- This case also reproduces the issue namespace g_namespace { int var = 1; } int main() { using typename g_namespace::var; //should be compiled failed but succeeded return 0; }