Can you fold this into an existing test file, maybe
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p11.cpp?


On Tue, Mar 4, 2014 at 5:49 PM, Peter Collingbourne <[email protected]> wrote:

> Author: pcc
> Date: Tue Mar  4 19:49:35 2014
> New Revision: 202922
>
> URL: http://llvm.org/viewvc/llvm-project?rev=202922&view=rev
> Log:
> Add a test case for PR17575.
>
> Added:
>     cfe/trunk/test/SemaCXX/using-decl-pr17575.cpp
>
> Added: cfe/trunk/test/SemaCXX/using-decl-pr17575.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/using-decl-pr17575.cpp?rev=202922&view=auto
>
> ==============================================================================
> --- cfe/trunk/test/SemaCXX/using-decl-pr17575.cpp (added)
> +++ cfe/trunk/test/SemaCXX/using-decl-pr17575.cpp Tue Mar  4 19:49:35 2014
> @@ -0,0 +1,11 @@
> +// RUN: %clang_cc1 -fsyntax-only -verify %s
> +// expected-no-diagnostics
> +
> +void bar();
> +namespace foo { using ::bar; }
> +using foo::bar;
> +void bar() {}
> +
> +void f();
> +using ::f;
> +void f() {}
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to