diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-21 04:04:39 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-21 04:04:39 +0000 |
commit | 1610993e39e7c0db9b77a87f512229d4385168ba (patch) | |
tree | d78ec393143f330e334e0d1388fbcd7568ca8b93 /libiberty/testsuite | |
parent | 26a72469f89b8955b19dc80bf4ce415903994d5c (diff) | |
download | gcc-1610993e39e7c0db9b77a87f512229d4385168ba.tar.gz |
gcc/cp/
* mangle.c (write_type): Handle 'auto'.
* init.c (build_new): Don't do auto deduction where it might
affect template mangling.
libiberty/
* cp-demangle.c (cplus_demangle_type): Handle 'auto'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185595 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 036c4813513..d489692f0b6 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -4075,6 +4075,12 @@ decltype (new int{}) f1<int>(int) --format=gnu-v3 _Zli2_wPKc operator"" _w(char const*) +--format=gnu-v3 +_Z1fIiEDTnw_Dapifp_EET_ +decltype (new auto({parm#1})) f<int>(int) +--format=gnu-v3 +_Z1fIiERDaRKT_S1_ +auto& f<int>(int const&, int) # # Ada (GNAT) tests. # |