2018-10-10 08:58:03 +08:00
|
|
|
UNSUPPORTED: ios
|
2017-08-22 07:25:50 +08:00
|
|
|
CHECK: BINGO
|
|
|
|
RUN: %cpp_compiler %S/SwitchTest.cpp -o %t-SwitchTest
|
|
|
|
RUN: %cpp_compiler %S/Switch2Test.cpp -o %t-Switch2Test
|
2019-01-25 05:08:54 +08:00
|
|
|
RUN: %cpp_compiler %S/Switch3Test.cpp -o %t-Switch3Test
|
2018-05-12 05:29:51 +08:00
|
|
|
RUN: not %run %t-SwitchTest -use_cmp=0 -use_value_profile=1 -runs=100000000 -seed=1 2>&1 | FileCheck %s
|
|
|
|
RUN: not %run %t-Switch2Test -use_cmp=0 -use_value_profile=1 -runs=100000000 -seed=1 2>&1 | FileCheck %s
|
2019-01-25 05:08:54 +08:00
|
|
|
RUN: not %run %t-Switch3Test -use_cmp=0 -use_value_profile=1 -runs=100000000 -seed=1 2>&1
|