Changeset View
Changeset View
Standalone View
Standalone View
clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p11.cpp
// RUN: %clang_cc1 -fsyntax-only -verify %s | // RUN: %clang_cc1 -fsyntax-only -verify %s | ||||
// C++03 [namespace.udecl]p11: (per DR101) | // C++03 [namespace.udecl]p11: (per DR101 frozen) | ||||
// If a function declaration in namespace scope or block scope has | // If a function declaration in namespace scope or block scope has | ||||
// the same name and the same parameter types as a function | // the same name and the same parameter types as a function | ||||
// introduced by a using-declaration, and the declarations do not declare the | // introduced by a using-declaration, and the declarations do not declare the |