r202922 - Add a test case for PR17575.

Richard Smith richard at metafoo.co.uk
Tue Mar 4 18:08:03 PST 2014


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 <peter at pcc.me.uk> 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
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140304/9df91f0b/attachment.html>


More information about the cfe-commits mailing list