------- Comment #1 from pinskia at gcc dot gnu dot org 2009-12-05 00:05 ------- There are two different issues here, only is the place where we instantiated foo<bool> is wrong but the second issue is even weird and I think there is a C++ defect report about it (do fundamental types have associated namespace).
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|gcc should reject code |fundamental type have an |violating the two-phase |associated namespace? |look-up rules (related to | |bug 42291) | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42292