repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
vararg-2.C
blob
5b3b9a3bfed8b4c4027a13f4a801011f4e87bdb9
1
// { dg-do compile }
2
struct QString {};
3
typedef __builtin_va_list __gnuc_va_list;
4
typedef __gnuc_va_list va_list;
5
QString & sprintf(QString &s,const QString &szFmt,...)
6
{
7
va_list list;
8
__builtin_va_start(list,((const char *)(&(szFmt))));
9
__builtin_va_end(list);
10
return s;
11
}