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
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
ptrmem10.C
blob
f6f97d9c021e6c9d75908e7216a3bdc1c8fd7896
1
// { dg-do run }
2
// Test that we properly convert a constant ptm to bool.
3
4
class A { };
5
6
int main()
7
{
8
int A::*const p = 0;
9
if (p)
10
return 1;
11
}