re PR c++/19148 (ICE: gimplification failed)

PR c++/19148
	* g++.dg/expr/cond7.C: New test.

From-SVN: r92641
This commit is contained in:
Mark Mitchell 2004-12-27 16:13:45 +00:00 committed by Mark Mitchell
parent 6ec215790a
commit 64092f8bc2
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-12-27 Mark Mitchell <mark@codesourcery.com>
PR c++/19148
* g++.dg/expr/cond7.C: New test.
2004-12-27 Paul Brook <paul@codesourcery.com>
* gfortran.dg/g77/select_no_compile.f: Remove.

View file

@ -0,0 +1,12 @@
// PR c++/19148
struct QChar {
QChar (char c);
QChar (const QChar &);
unsigned short ucs;
};
void f(QChar *uc, unsigned short ch, QChar replacement)
{
*uc++ = ((ch) ? QChar((1)) : replacement);
}