Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/cpp0x/udlit-template.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
21 template<> | 21 template<> |
22 int | 22 int |
23 operator"" _abc<'6','6','6'>() | 23 operator"" _abc<'6','6','6'>() |
24 { return 21; } | 24 { return 21; } |
25 | 25 |
26 int | 26 void |
27 test1() | 27 test1() |
28 { | 28 { |
29 int i = operator"" _abc<'1','2','3'>(); | 29 int i = operator"" _abc<'1','2','3'>(); |
30 assert(i == 45); | 30 assert(i == 45); |
31 int universal_meaning = operator"" _abc<'L','U','E'>(); | 31 int universal_meaning = operator"" _abc<'L','U','E'>(); |