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
Merge with main truk.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr09.C
blob
1422a35cffedef601fd99fdc8a2962dbd1efbc3a
1
// { dg-do compile { target c++11 } }
2
3
// Test compare to literal 0
4
5
void fun()
6
{
7
if( nullptr == 0 );
8
decltype(nullptr) mynull = 0;
9
if( mynull == 0 );
10
}