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++.pt
/
cond2.C
blob
37bc1466a6f3b2c14e84368ab774114b6a03d188
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
struct S
5
{
6
S (int);
7
operator bool () const;
8
};
9
10
template <class T>
11
void f ()
12
{
13
if (const S &s = 3) {
14
}
15
}
16
17
template void f<int>();
18