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:
parent
6ec215790a
commit
64092f8bc2
2 changed files with 17 additions and 0 deletions
|
@ -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.
|
||||
|
|
12
gcc/testsuite/g++.dg/expr/cond7.C
Normal file
12
gcc/testsuite/g++.dg/expr/cond7.C
Normal 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);
|
||||
}
|
Loading…
Add table
Reference in a new issue