[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/Makefile vcirc.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 4 20:51:41 PDT 2004



Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc:

Makefile added (r1.1)
vcirc.cpp updated: 1.1 -> 1.2
---
Log message:

Wow, this one just worked!


---
Diffs of the changes:  (+8 -1)

Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/Makefile
diff -c /dev/null llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/Makefile:1.1
*** /dev/null	Mon Oct  4 22:51:40 2004
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/Makefile	Mon Oct  4 22:51:30 2004
***************
*** 0 ****
--- 1,7 ----
+ LEVEL = ../../../..
+ 
+ PROG     = vcirc
+ #LIBS  = -lstdc++
+ LDFLAGS = -lstdc++
+ include $(LEVEL)/MultiSource/Makefile.multisrc
+ 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/vcirc.cpp
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/vcirc.cpp:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/vcirc.cpp:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/vcirc.cpp:1.1	Mon Oct  4 15:01:15 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/vcirc/vcirc.cpp	Mon Oct  4 22:51:30 2004
@@ -93,7 +93,7 @@
    Expand(-ContractBy);       // redraws with (Radius - ContractBy)
 }
 
-main()                        // test the functions
+int main()                        // test the functions
 {
    Circle MyCircle(50, 100, 25);    // declare a circle object
    MyCircle.Show();                 // show it






More information about the llvm-commits mailing list