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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
operators21.C
blob
e6d77c3295bffdd706040da316417f82166449fc
1
// { dg-do assemble }
2
// GROUPS passed operators
3
4
struct A {
5
int x;
6
};
7
8
int operator()(A x,float y) {// { dg-error "" } .*
9
return 1;
10
}
11
12
int main() {
13
A x;
14
x(1.0); // { dg-error "" } no match
15
}
16