/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Type-Coercion-Union/ |
H A D | basic.t | 47 my $Union1 = union Union1 => [$RoundedInteger, $String3]; 49 should_pass("3.4", $Union1); 50 should_pass("30", $Union1); 51 should_fail("3.12", $Union1); 80 $Union1->has_coercion, 92 $Union1->coerce("4"), 98 $Union1->coerce("xyz"), 104 $Union1->coerce("3.1"), 110 $Union1->coerce("abcde"), 116 $Union1->coerce("3.123"), [all …]
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-swift/test/fixtures/constants/ |
H A D | Union1.java | 45 public Union1() { in Union1() method in Union1 50 public Union1(final int i) { in Union1() method in Union1 57 public Union1(final double d) { in Union1() method in Union1 62 public static Union1 fromI(final int i) { in fromI() 63 Union1 res = new Union1(); in fromI() 69 public static Union1 fromD(final double d) { in fromD() 70 Union1 res = new Union1(); in fromD() 145 Union1 other = (Union1)o; in equals() 193 return Union1::read0; in asReader() 197 Union1 res = new Union1(); in read0() [all …]
|
H A D | Union2.java | 79 public Union2(final test.fixtures.constants.Union1 u) { in Union2() 105 public static Union2 fromU(final test.fixtures.constants.Union1 u) { in fromU() 150 public test.fixtures.constants.Union1 getU() { in getU() 154 return (test.fixtures.constants.Union1) value; in getU() 231 void visitU(test.fixtures.constants.Union1 u); in visitU() 263 test.fixtures.constants.Union1 u = (test.fixtures.constants.Union1)this.value; in write0() 308 test.fixtures.constants.Union1 u = test.fixtures.constants.Union1.read0(oprot); in read0()
|
H A D | ModuleConstants.java | 113 …public static final test.fixtures.constants.Union1 U_1_1 = test.fixtures.constants.Union1.fromI(97… 115 …public static final test.fixtures.constants.Union1 U_1_2 = test.fixtures.constants.Union1.fromD((d… 117 public static final test.fixtures.constants.Union1 U_1_3 = test.fixtures.constants.Union1; 125 …ants.Union2 U_2_4 = test.fixtures.constants.Union2.fromU(test.fixtures.constants.Union1.fromI(43)); 127 …on2 U_2_5 = test.fixtures.constants.Union2.fromU(test.fixtures.constants.Union1.fromD((double)9.8)… 129 …ures.constants.Union2 U_2_6 = test.fixtures.constants.Union2.fromU(test.fixtures.constants.Union1);
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-go/module/ |
H A D | constants.go | 49 var U_1_1 *Union1 50 var U_1_2 *Union1 51 var U_1_3 *Union1 257 U_1_1 = &Union1{ 261 U_1_2 = &Union1{ 265 U_1_3 = &Union1{ 284 U: &Union1{ 290 U: &Union1{ 296 U: &Union1{
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|
/dports/devel/mingw32-gcc/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-value2.C | 10 union Union1 { int i; }; union 14 constexpr auto u2 = value_init<Union1>(); 17 constexpr auto u5 = bar(Union1{});
|