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
/
error40.C
blob
643f1f56c53b6f91e3a0e86db0b4ea663ecff008
1
// PR c++/31489
2
3
class foo; // { dg-message "'class foo'" }
4
struct bar; // { dg-message "'struct bar'" }
5
6
int main()
7
{
8
foo* f = new foo; // { dg-error "'class foo'" }
9
bar* b = new bar; // { dg-error "'struct bar'" }
10
}