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
[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
overload
/
operator4.C
blob
3ec1eb472dd926093708a58e6111c99dad952fae
1
// PR c++/38174
2
3
struct VolatileIntPtr {
4
operator int volatile *();
5
};
6
7
struct ConstIntPtr {
8
operator int const *();
9
};
10
11
void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip) {
12
bool b1 = (vip == cip);
13
long p1 = vip - cip;
14
}