Commit 25a60571 by Marek Polacek Committed by Marek Polacek

re PR c++/77575 (Bogus error when alias template yielding a reference type used…

re PR c++/77575 (Bogus error when alias template yielding a reference type used as template template argument)

	PR c++/77575
	* g++.dg/cpp0x/nontype2.C: New test.

From-SVN: r274024
parent d99397c2
2019-08-02 Marek Polacek <polacek@redhat.com>
PR c++/77575
* g++.dg/cpp0x/nontype2.C: New test.
2019-08-02 Steve Ellcey <sellcey@marvell.com>
* gcc.target/aarch64/simd_pcs_attribute.c: New test.
......
// PR c++/77575
// { dg-do compile { target c++11 } }
template<template <class> class> struct meow {};
template<class T> using kitty = T&;
meow<kitty> u;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment