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
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
parse
/
direct-initialization-2.C
blob
f362c74a7c39ce1ae88ef9039e909cec459e1db3
1
// Copyright (C) 2002 Free Software Foundation
2
// Origin: C++/729
3
// Contributed by Gabriel Dos Reis <gdr@integrable-solutions.net>
4
// { dg-do compile }
5
6
struct A {
7
A(int) { }
8
};
9
10
struct B {
11
typedef B T;
12
B(A, char**) {}
13
};
14
15
int main(int argc, char** argv)
16
{
17
B::T t(A(argc), argv);
18
}