[cfe-commits] r172697 - /cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
Richard Smith
richard at metafoo.co.uk
Wed Jan 16 19:53:04 PST 2013
The problem reported in PR12938 still exists if you use
[[gnu::noreturn]] or __attribute__((noreturn)) in the place of
[[noreturn]] in this test case.
On Wed, Jan 16, 2013 at 6:43 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Author: dblaikie
> Date: Wed Jan 16 20:43:00 2013
> New Revision: 172697
>
> URL: http://llvm.org/viewvc/llvm-project?rev=172697&view=rev
> Log:
> Add test for PR12938, fixed by Richard Smith in r172691
>
> Modified:
> cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
>
> Modified: cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp?rev=172697&r1=172696&r2=172697&view=diff
> ==============================================================================
> --- cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp (original)
> +++ cfe/trunk/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp Wed Jan 16 20:43:00 2013
> @@ -300,3 +300,8 @@
> void has_inline_namespaces::X0<X4>::mem_func_template(T&) { }
>
> template<> int has_inline_namespaces::X0<X4>::value = 13;
> +
> +namespace PR12938 {
> + template<typename> [[noreturn]] void func();
> + template<> void func<int>();
> +}
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list