blob: cd3a3aabd7f8ae173c13c94407ef275a0c291f9c (
plain)
1
2
3
4
5
6
7
8
9
10
|
// { dg-do compile }
// Contributed by: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
#include <cstddef>
template <int T> struct A {};
template <void* T> struct B {};
A<NULL> a;
B<NULL> b; // { dg-error "" }
|