PR c++/19148
* g++.dg/expr/cond7.C: New test.
From-SVN: r92641
+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.
2004-12-27 Paul Brook <paul@codesourcery.com>
* gfortran.dg/g77/select_no_compile.f: Remove.
--- /dev/null
+// 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);
+}