Commit 13093b92 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Cpp: Fix test case cpp_classes_def: add expected warning

parent d5f70e78
# mode: run # mode: run
# tag: cpp, werror, cpp11 # tag: cpp, cpp11
# cython: experimental_cpp_class_def=True # cython: experimental_cpp_class_def=True
cdef double pi cdef double pi
...@@ -249,3 +249,7 @@ def test_uncopyable_constructor_argument(): ...@@ -249,3 +249,7 @@ def test_uncopyable_constructor_argument():
cdef UncopyableConstructorArgument *c = new UncopyableConstructorArgument( cdef UncopyableConstructorArgument *c = new UncopyableConstructorArgument(
unique_ptr[vector[int]](new vector[int]())) unique_ptr[vector[int]](new vector[int]()))
del c del c
_WARNINGS="""
23:4: Unraisable exception in function 'RegularPolygon.area'.
"""
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