/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
using namespace std;
class C { };
namespace C
{
void f() { }
};
void OnStart()
{
C::f(); // ambiguous access, can be one of:
// 0. scope 'C'
// 1. scope 'C'
}
int main()
{
OnStart();
return 0;
}