summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-ptrcomp1.C
blob: 2eee1b022e302093773fee5412786fdb2cd1ffdd (plain)
1
2
3
4
5
6
7
8
// PR c++/65509
// { dg-do compile { target c++11 } }

const int i1 = 1;
const int i2 = 2;

#define SA(X) static_assert (X,#X)
SA(&i1 != &i2);