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++.dg
/
parse
/
error19.C
blob
a06d3e0c45ab4328b6ea2f5c524a114d7787f98b
1
// { dg-options "-fshow-column -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long " }
2
// PR C++/17867
3
4
struct A // { dg-message "8:operator=" }
5
{
6
A(int);
7
};
8
9
const A& foo();
10
11
void bar()
12
{
13
foo()=A(0); // { dg-error "8:no match|const" }
14
}