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 (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-nullptr.C
blob
7ac53db489ca15a78fef84b1b6448e75ca078af5
1
// { dg-options -std=c++0x }
2
3
constexpr int zero() { return 0; }
4
5
void* ptr1 = zero(); // #1
6
constexpr void* ptr2 = zero(); // #2