diff options
author | emsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-11 11:00:38 +0000 |
---|---|---|
committer | emsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-11 11:00:38 +0000 |
commit | 706144c4ae398f4b3d35eb0cfde9650816c94e6c (patch) | |
tree | 82c124587be8c4f808a3f89e32e71a9dc7547b7d /libstdc++-v3/testsuite | |
parent | 5aa09f64d2f4ce64cf8ae3212ea60fc77dbfbd61 (diff) | |
download | gcc-706144c4ae398f4b3d35eb0cfde9650816c94e6c.tar.gz |
2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net>
Fix library literals error involving namespace __detail.
* include/std/chrono: Rename __detail to __select_type. Reformat.
* include/bits/basic_string.h: Reformat.
* testsuite/20_util/duration/literals/ns_detail.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199948 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/20_util/duration/literals/ns_detail.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/ns_detail.cc b/libstdc++-v3/testsuite/20_util/duration/literals/ns_detail.cc new file mode 100644 index 00000000000..a5e21e9a3dd --- /dev/null +++ b/libstdc++-v3/testsuite/20_util/duration/literals/ns_detail.cc @@ -0,0 +1,7 @@ +// { dg-options "-std=gnu++1y" } +// { dg-do compile } + +// Test error: reference to '__detail' is ambiguous + +#include <chrono> +#include <random> |