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++.jason
/
temporary5.C
blob
d233fa9b3ad654c078fc16109508a2982186acd2
1
// { dg-do run }
2
// PRMS Id: 6604
3
// Bug: Scoped constructor call is not properly recognized as a functional cast
4
5
int c;
6
7
struct A {
8
A() { ++c; }
9
~A() { --c; }
10
operator int () { return 1; }
11
};
12
13
int main ()
14
{
15
A::A();
16
return c;
17
}