PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash8.C
blobb68cfcb44408b3602877eb961f364bcadbc9d646
1 // { dg-do compile }
3 // Origin: David Robinson <drtr@dial.pipex.com>
5 // PR c++/11513: ICE due to incorrect decision whether the tag is template.
7 template <typename T>
8 struct bar
9
10   struct foo
11   {
12     int a;
13   };
15   template <typename U>
16   void wom(U c)
17   {
18     struct foo b;
19   }