OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype10.C
1
// { dg-do compile }
2
// Contributed by: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3
#include <cstddef>
4
5
template <int T> struct A {};
6
template <void* T> struct B {};
7
8
A<NULL> a; // { dg-warning "NULL" }
9
B<NULL> b; // { dg-error "" }
10