re PR middle-end/17909 (ICE: verifiy_stms failed)
2004-12-04 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17909 * g++.dg/other/vararg-2.C: New test. From-SVN: r91728
This commit is contained in:
parent
2efcfa4ef6
commit
a6ac7f6fb4
@ -1,3 +1,8 @@
|
||||
2004-12-04 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR middle-end/17909
|
||||
* g++.dg/other/vararg-2.C: New test.
|
||||
|
||||
2004-12-04 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
PR c++/17011, c++/17971
|
||||
|
11
gcc/testsuite/g++.dg/other/vararg-2.C
Normal file
11
gcc/testsuite/g++.dg/other/vararg-2.C
Normal file
@ -0,0 +1,11 @@
|
||||
// { dg-do compile }
|
||||
struct QString {};
|
||||
typedef __builtin_va_list __gnuc_va_list;
|
||||
typedef __gnuc_va_list va_list;
|
||||
QString & sprintf(QString &s,const QString &szFmt,...)
|
||||
{
|
||||
va_list list;
|
||||
__builtin_va_start(list,((const char *)(&(szFmt))));
|
||||
__builtin_va_end(list);
|
||||
return s;
|
||||
}
|
Loading…
Reference in New Issue
Block a user