PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / dtor4.h
blobd3b43beabd7f24969276ed190557a48d6a490472
1 #include <cassert>
3 struct S
5 int a, i;
6 S () : i(1) {}
7 __attribute__((noinline)) ~S () { assert (i == 1); }
8 };