☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
complex_literals1.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/complex_literals1.C
code
plain
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
}