OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-04-24 Douglas Gregor <doug.gregor@gmail.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
operators21.C
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