simple formatting changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8e779193bf
commit
c3b48505e2
26 changed files with 134 additions and 134 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* This test case checks whether swig correctly parses and ignores the
|
||||
/* This test case checks whether SWIG correctly parses and ignores the
|
||||
keywords "static_assert()" inside the class or struct.
|
||||
*/
|
||||
%module cpp0x_static_assert
|
||||
|
|
@ -6,12 +6,12 @@
|
|||
%inline %{
|
||||
template <typename T>
|
||||
struct Check1 {
|
||||
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
||||
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
class Check2 {
|
||||
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
||||
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
||||
};
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue