Commit e89b556b by Paolo Carlini Committed by Paolo Carlini

re PR c++/71385 (Internal compiler error when using concept as placeholder)

2017-10-27  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/71385
	* g++.dg/concepts/pr71385.C: New.

From-SVN: r254139
parent 001ee39a
2017-10-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/71385
* g++.dg/concepts/pr71385.C: New.
2017-10-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/80739
* g++.dg/cpp1y/constexpr-80739.C: New.
......
// { dg-options "-std=c++17 -fconcepts" }
template<class T>
concept bool Addable(){
return requires(T x){
{x + x} -> T;
};
}
int main(){
Addable t = 0;
}
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