Added constexpr keywords and CONSTEXPR terminal to Swig parser.

Added cpp0x_constexpr.i testcase.
Fixed compilation bug of cpp0x_template_double_brackets.i testcase.
Removed obsolete cpp0x_template_double_brackets_broken.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matevz Jekovec 2009-06-26 21:48:48 +00:00
commit d8012716ed
6 changed files with 22 additions and 37 deletions

View file

@ -93,6 +93,7 @@ C_TEST_BROKEN += \
# C++ test cases. (Can be run individually using make testcase.cpptest.)
CPP_TEST_CASES += \
$(CPP0X_TEST_CASES) \
abstract_access \
abstract_inherit \
abstract_inherit_ok \
@ -395,16 +396,15 @@ CPP_TEST_CASES += \
virtual_destructor \
virtual_poly \
voidtest \
wrapmacro \
$(CPP0X_TEST_CASES)
wrapmacro
# C++0x test cases.
CPP0X_TEST_CASES = \
cpp0x_template_double_brackets
# cpp0x_constexpr # not supported by any compilers yet
# Broken C++0x test cases.
CPP0X_TEST_BROKEN = \
cpp0x_template_double_brackets_broken
CPP0X_TEST_BROKEN =
#
# Put all the heavy STD/STL cases here, where they can be skipped if needed
@ -497,7 +497,7 @@ ALL_CLEAN = $(CPP_TEST_CASES:=.clean) \
#######################################################################
# The following applies for all module languages
#######################################################################
all: $(BROKEN_TEST_CASES) $(NOT_BROKEN_TEST_CASES)
all: $(NOT_BROKEN_TEST_CASES) $(BROKEN_TEST_CASES)
check: $(NOT_BROKEN_TEST_CASES)