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