repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p3524c.C
blob
2f5d23bed67647350fbd1e77ffdb63ebf93c5638
1
// { dg-do assemble }
2
// Make sure we can cast to a templated type, that requires a conversion by
3
// constructor, from a non-aggregate type.
4
5
// prms-id: 3524
6
7
template <class T>
8
struct ccPair {
9
ccPair (int i) { }
10
};
11
12
void foo ()
13
{
14
(ccPair<float>)1;
15
}