repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (160224:163495).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr09.C
blob
b35a3c3207d1f311c09e8a01435b3fc0e817e5d1
1
// { dg-do compile }
2
// { dg-options "-std=c++0x" }
3
4
// Test compare to literal 0
5
6
void fun()
7
{
8
if( nullptr == 0 );
9
decltype(nullptr) mynull = 0;
10
if( mynull == 0 );
11
}