summaryrefslogtreecommitdiff
path: root/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_zero_nonmatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_zero_nonmatch.cpp')
-rw-r--r--cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_zero_nonmatch.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_zero_nonmatch.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_zero_nonmatch.cpp
new file mode 100644
index 000000000000..e7e04c9f98e6
--- /dev/null
+++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_zero_nonmatch.cpp
@@ -0,0 +1,15 @@
+// Purpose:
+// Check that \DexExpectWatchValue float_range=0.0 matches only exact
+// values.
+//
+// UNSUPPORTED: system-darwin
+//
+// RUN: not %dexter_regression_test -- %s | FileCheck %s
+// CHECK: float_range_zero_nonmatch.cpp:
+
+int main() {
+ float a = 1.0f;
+ return a; //DexLabel('check')
+}
+
+// DexExpectWatchValue('a', '1.0000001', on_line=ref('check'), float_range=0.0)