https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65633
Bug ID: 65633 Summary: FAIL: g++.dg/cpp0x/udlit-string-literal.C -std=c++11 (test for excess errors) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Host: hppa*-hp-hpux11.00 Target: hppa*-hp-hpux11.00 Build: hppa*-hp-hpux11.00 spawn /home/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++ -B/home/gnu/gcc/objdir/g cc/testsuite/g++/../../ /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string -literal.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/ xxx/gnu/gcc/objdir/hppa2.0w-hp-hpux11.00/libstdc++-v3/include/hppa2.0w-hp-hpux11 .00 -I/xxx/gnu/gcc/objdir/hppa2.0w-hp-hpux11.00/libstdc++-v3/include -I/xxx/gnu/ gcc/gcc/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc/gcc/libstdc++-v3/include/backward -I/xxx/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++11 -pe dantic-errors -Wno-long-long -S -o udlit-string-literal.s In file included from /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-l iteral.C:5:0: /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.h:11:8: error: 'wstring' in namespace 'std' does not name a type /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.C:11:10: error: unable to find string literal operator 'operator""s' with 'const wchar_t [14]', 'long unsigned int' arguments /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.C:11:10: error: unable to find string literal operator 'operator""s' with 'const wchar_t [14]', 'long unsigned int' arguments compiler exited with status 1 output is: In file included from /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-l iteral.C:5:0: /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.h:11:8: error: 'wstring' in namespace 'std' does not name a type /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.C:11:10: error: unable to find string literal operator 'operator""s' with 'const wchar_t [14]', 'long unsigned int' arguments /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.C:11:10: error: unable to find string literal operator 'operator""s' with 'const wchar_t [14]', 'long unsigned int' arguments FAIL: g++.dg/cpp0x/udlit-string-literal.C -std=c++11 (test for excess errors) Excess errors: /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.h:11:8: error: 'wstring' in namespace 'std' does not name a type /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.C:11:10: error: unable to find string literal operator 'operator""s' with 'const wchar_t [14]', 'long unsigned int' arguments /xxx/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-string-literal.C:11:10: error: unable to find string literal operator 'operator""s' with 'const wchar_t [14]', 'long unsigned int' arguments Similar fail: FAIL: g++.dg/cpp0x/udlit-string-literal.C -std=c++14 (test for excess errors)