Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/complex_literals1.C

raw
1 // PR c++/79228
2 // { dg-do compile { target c++14 } }
3 // { dg-skip-if "requires hosted libstdc++ for complex" { ! hostedlib } }
4
5 #include <complex>
6
7 int main()
8 {
9 using namespace std::complex_literals;
10 auto a = std::abs(0.0i);
11 }