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
* MAINTAINERS: Add a note that maintainership also includes web
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error41.C
blob
621a2e252ed50fbc5e03a218646e6ae1cc08385c
1
// PR c++/44524
2
3
template<typename, typename>
4
struct map
5
{
6
bool empty();
7
};
8
9
int bar(map<int, float> *X) {
10
return X.empty(); // { dg-error "which is of pointer type 'map" }
11
}