Commit 6baba868 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

simple array works properly

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 2469
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent e9e17a6a
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: simplearraytest.cc,v 1.8 2007-12-07 18:01:26 tforb Exp $
* $Id: simplearraytest.cc,v 1.9 2007-12-10 10:27:51 tforb Exp $
* \author Thomas Forbriger
* \date 25/05/2002
*
......@@ -32,13 +32,14 @@
* - 24/11/2002 V1.1 add rawarfun tests
* - 25/11/2002 V1.2 new inline tests
* - 13/12/2002 V1.3 reworked for libaff
* - 10/12/2007 V1.4 compiles and is tested on Fenoglio (64bit)
*
* ============================================================================
*/
#define AFF_SIMPLEARRAYTEST_CC_VERSION \
"AFF_SIMPLEARRAYTEST_CC V1.3"
"AFF_SIMPLEARRAYTEST_CC V1.4"
#define AFF_SIMPLEARRAYTEST_CC_CVSID \
"$Id: simplearraytest.cc,v 1.8 2007-12-07 18:01:26 tforb Exp $"
"$Id: simplearraytest.cc,v 1.9 2007-12-10 10:27:51 tforb Exp $"
/*! \example tests/simplearraytest.cc
*
......@@ -128,7 +129,7 @@ int main()
CODE( B[3]=78.5; )
CODE( D[2]=7883; )
CODE( C[2]=-13.2; )
CODE( C[2]=int(-13.2); )
CODE( F=C; )
CODE( F[1]=-13.2; )
......@@ -143,10 +144,12 @@ int main()
DUMP( D );
// the following is illegal, since E is declared with a const qualifier
#ifdef ILLEGAL1
CODE( E[4]=334 );
#endif
// the following is illegal, since E is declared with a const qualifier
#ifdef ILLEGAL2
CODE( E=A );
#endif
......
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