summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash43.C
blob: cbb1221b355d0d1bcf5e6d1fd1c3f2d70caf130d (plain)
1
2
3
4
5
6
7
8
// PR c++/24687

extern "C" {
  template<typename _Tp>  // { dg-error "C" }   
  struct ___is_pod {
    enum {
      __value = (sizeof(__gnu_internal::__test_type<_Tp>(0)))}; // { dg-error "declared|expected" }