https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40901
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Last reconfirmed|2012-02-01
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40901
--- Comment #4 from Jonathan Wakely 2011-01-18
15:11:05 UTC ---
(In reply to comment #3)
> access control isn't done for a nested-name-specifier
sorry, should be "... for arguments in a template-id in a
nested-name-specifier"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40901
Jonathan Wakely changed:
What|Removed |Added
Keywords||accepts-invalid
--- Comment #3 from Jon
--- Comment #2 from bangerth at gmail dot com 2009-08-25 14:04 ---
Confirmed:
-
class A {
template struct s {
enum { value };
};
};
int i = A::s<10>::value;
-
This should produce an error but doesn't.
W.
--
ba
--- Comment #1 from jwakely dot gcc at gmail dot com 2009-07-29 11:01
---
looks similar to bug 40843 but I'm not sure if it's the same
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40901