OSDN Git Service

PR c++/43856
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / static_assert3.C
1 // { dg-options "-std=c++0x" }
2 static_assert(7 / 0, "X"); // { dg-error "non-constant condition" }
3 // { dg-warning "division by zero" "" { target *-*-* } 2 }