[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/NP/NP.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 4 13:08:53 PDT 2004
Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/NP:
NP.cpp updated: 1.2 -> 1.3
---
Log message:
Give this some output
---
Diffs of the changes: (+4 -0)
Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/NP/NP.cpp
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/NP/NP.cpp:1.2 llvm-test/MultiSource/Benchmarks/Prolangs-C++/NP/NP.cpp:1.3
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/NP/NP.cpp:1.2 Mon Oct 4 15:07:40 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/NP/NP.cpp Mon Oct 4 15:08:42 2004
@@ -3,11 +3,14 @@
// distributed freely, provided this comment is displayed at the top.
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+#include <cstdio>
+
class True {
public:
True() {}
virtual True *and_m (True *arg)
{
+ printf("T\n");
return arg;
}
} tru;
@@ -20,6 +23,7 @@
True *False::and_m (True *arg)
{
+ printf("F\n");
return &fals;
}
More information about the llvm-commits
mailing list