Add comment explaining why -std=c++14 is needed.
* testsuite/26_numerics/complex/literals/types.cc: Add comment. From-SVN: r239543
This commit is contained in:
parent
038000bd9d
commit
e30c6e0c14
|
@ -1,5 +1,7 @@
|
|||
2016-08-17 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/26_numerics/complex/literals/types.cc: Add comment.
|
||||
|
||||
* testsuite/21_strings/basic_string_view/operations/rfind/char/2.cc:
|
||||
Remove duplicate dg-options directive.
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// { dg-options "-std=c++1y" }
|
||||
// Use -std=c++14 explicitly, because -std=gnu++14 enables GNU extension for
|
||||
// complex literals, so 1.0if is __complex__ float not std::complex<float>.
|
||||
// { dg-options "-std=c++14" }
|
||||
// { dg-do compile }
|
||||
|
||||
// Copyright (C) 2013-2016 Free Software Foundation, Inc.
|
||||
|
|
Loading…
Reference in New Issue