[llvm-commits] CVS: llvm/test/Regression/C++Frontend/Makefile pointer_member.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon May 12 18:25:01 PDT 2003


Changes in directory llvm/test/Regression/C++Frontend:

Makefile added (r1.1)
pointer_member.cpp added (r1.1)

---
Log message:

Add first C++ test


---
Diffs of the changes:

Index: llvm/test/Regression/C++Frontend/Makefile
diff -c /dev/null llvm/test/Regression/C++Frontend/Makefile:1.1
*** /dev/null	Mon May 12 18:23:02 2003
--- llvm/test/Regression/C++Frontend/Makefile	Mon May 12 18:22:51 2003
***************
*** 0 ****
--- 1,15 ----
+ #                   test/Regression/C++Frontend/Makefile
+ #
+ # This directory contains regression tests for the GCC C++ front-end for LLVM.  
+ # These tests are C++ source files that are input to GCC and compiled to .ll
+ # files. After that, the files are assembled by the LLVM 'as' program to make
+ # sure GCC emitted something valid.  This is intended to catch crashers and bad
+ # output by GCC.  Miscompilations by GCC should be caught by the 
+ # test/Programs/SingleSource/UnitTests test suite
+ #
+ LEVEL = ../../..
+ include $(LEVEL)/test/Makefile.tests
+ 
+ TESTS := $(wildcard *.cpp)
+ 
+ all:: $(addprefix Output/, $(TESTS:%.cpp=%.tbc))


Index: llvm/test/Regression/C++Frontend/pointer_member.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/pointer_member.cpp:1.1
*** /dev/null	Mon May 12 18:23:02 2003
--- llvm/test/Regression/C++Frontend/pointer_member.cpp	Mon May 12 18:22:51 2003
***************
*** 0 ****
--- 1,4 ----
+ struct B { int i; };
+ struct D : public B {};
+ int D::*dp = &D::i;
+ 





More information about the llvm-commits mailing list