comparison gcc/testsuite/g++.dg/other/error31.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // PR c++/35335
2 // { dg-do compile }
3 // { dg-options "" }
4 // { dg-bogus "not supported by" "" { target *-*-* } 0 }
5
6 struct A {}; // { dg-message "operator=|no known conversion" }
7
8 void
9 foo ()
10 {
11 A a;
12 a = ({ { 1; } }); // { dg-error "no match for" }
13 }