blob: dc5f8c6b0c92b90a688692a8d3d5f0b26704d8c7 [file] [log] [blame]
// Purpose:
// Check that \DexExpectStepOrder correctly applies a penalty for steps
// found out of expected order.
//
// UNSUPPORTED: system-darwin
//
// RUN: not %dexter_regression_test -- %s | FileCheck %s
// CHECK: expect_step_order.cpp:
int main()
{
volatile int x = 1; // DexExpectStepOrder(3)
volatile int y = 1; // DexExpectStepOrder(1)
volatile int z = 1; // DexExpectStepOrder(2)
return 0;
}