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
Remove outermost loop parameter.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr02.C
blob
2272152cf730313b5049dade47853bd78cd157f4
1
// { dg-do compile }
2
// { dg-options "-std=c++0x" }
3
4
// Test assignment to nullptr_t
5
6
typedef decltype(nullptr) nullptr_t;
7
8
const nullptr_t np1 = nullptr;
9
const nullptr_t np2 = __null;
10
const nullptr_t np3 = 0;