summaryrefslogtreecommitdiffstats
path: root/eval.tex
diff options
context:
space:
mode:
Diffstat (limited to 'eval.tex')
-rw-r--r--eval.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/eval.tex b/eval.tex
index 29e9a33..6330647 100644
--- a/eval.tex
+++ b/eval.tex
@@ -70,6 +70,20 @@ int main() { return un.a; }
\caption{This crashes in Legup 4.0.}\label{fig:legup_crash2}
\end{figure}
+\begin{figure}\centering
+\begin{minted}{c}
+volatile int a = 0;
+int b = 1;
+
+int main() {
+ int d = 1;
+ if (d + a) b || 1;
+ else b = 0;
+ return b;
+}
+\end{minted}
+\caption{This crashes in Legup 4.0.}\label{fig:legup_crash2}
+\end{figure}
\NR{
What we need for this section: