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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
expr1.C
blob
415f0f19ef27ff87abd90a58993bb3dc75c43015
1
// { dg-do assemble }
2
3
// Simplified from bug report by Trevor Taylor <ttaylor@powerup.com.au>
4
5
struct T {
6
int operator()(int) { return 0; } // { dg-message "operator|candidate expects" }
7
};
8
9
int main() {
10
T()(); // { dg-error "match" } no such operator
11
return 0;
12
}