1 // { dg-options "-std=c++11 -pedantic-errors" } 2 3 namespace A::B::C // { dg-error "nested namespace definitions only available with" } 4 { 5 } 6