Mercurial > archived > louis > epitech > mq > rathaxes
diff rathaxes_add_a_test_to_reproduce_the_pointer_to_rathaxes_bug.patch @ 95:4e7107e284de
Check that direct assignment works too in the pointer to Rathaxes type regression test
author | Louis Opter <louis@lse.epita.fr> |
---|---|
date | Mon, 22 Oct 2012 02:02:22 +0200 |
parents | 5eb746474f0f |
children |
line wrap: on
line diff
--- a/rathaxes_add_a_test_to_reproduce_the_pointer_to_rathaxes_bug.patch Mon Oct 22 01:27:53 2012 +0200 +++ b/rathaxes_add_a_test_to_reproduce_the_pointer_to_rathaxes_bug.patch Mon Oct 22 02:02:22 2012 +0200 @@ -1,8 +1,7 @@ # HG changeset patch -# Parent 7eec45c5cc587ee8b1839b38e9d9ec652856c45a +# Parent 7adecea6d0fdaad6bb4a97993ef3f7e6cb465b8e rathaxes: add a test for the pointer to Rathaxes type bug - diff --git a/rathaxes/compiler/tests/CMakeLists.txt b/rathaxes/compiler/tests/CMakeLists.txt --- a/rathaxes/compiler/tests/CMakeLists.txt +++ b/rathaxes/compiler/tests/CMakeLists.txt @@ -24,7 +23,7 @@ new file mode 100644 --- /dev/null +++ b/rathaxes/compiler/tests/pointer_to_rathaxes_type/pointer_to_rathaxes_type.blt -@@ -0,0 +1,32 @@ +@@ -0,0 +1,33 @@ +with Test +{ + ${pointcut Test::code()}; @@ -49,6 +48,7 @@ + main(void) + { + ${Test::Test} *p; ++ ${Test::Test} *assign = NULL; + + ${pointcut ::IMPLEMENTATION(local.p)}; +