summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/complex6.C
blob: 9a7c50a7ae52d9f9e5e13730e8365afa72f15ebf (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/46304
// { dg-options "" }

template<class T>
void f()
{
  __complex double d =  1.0 + 2.0i;
}

template void f<int>();