Commit 4a887f26 authored by Alexander Hirsch's avatar Alexander Hirsch
Browse files

Add typical assertion example

parent 1af16f1f
......@@ -335,6 +335,17 @@ void fun(int arr[10])
## Assertions
double clamp(double value, double lower, double upper)
assert(lower <= upper);
// …
struct expression *expression_binary_op(enumbinary_op op,
struct expression *lhs,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment