fork download
  1. #include <iostream>
  2.  
  3. namespace blah {
  4. class Foo {
  5. public:
  6. class Bar {};
  7. };
  8. void test(Foo::Bar) {
  9. std::cout << "blah" << std::endl;
  10. }
  11. }
  12.  
  13. int main(void) {
  14. test(blah::Foo::Bar{});
  15. }
Success #stdin #stdout 0s 4272KB
stdin
Standard input is empty
stdout
blah