c++: Always check access during late-parsing of members [PR58993]
[gcc.git] / gcc / testsuite / g++.dg / opt / pr87974.C
index 4b070d2a6f83f55f34a371b10244030c0f2a91c0..7d8357a025c7d8426f55bc349678b6339f735c4d 100644 (file)
@@ -8,6 +8,7 @@ class i {
     struct j {
        using c = int *;
     };
+public:
     using as = j::c;
 };
 template <typename> class k {