diff --git a/tests/run/cpp_smart_ptr.pyx b/tests/run/cpp_smart_ptr.pyx
index 3ecfe7a2a67020bea364f8b68bb095043b7af143..97fcde2ef0972c009c7459f1c420c2e2fe306c4c 100644
--- a/tests/run/cpp_smart_ptr.pyx
+++ b/tests/run/cpp_smart_ptr.pyx
@@ -1,6 +1,6 @@
-# distutils: extra_compile_args=-std=c++11
+# distutils: extra_compile_args=-std=c++0x
 # mode: run
-# tag: cpp
+# tag: cpp, werror
 
 from libcpp.memory cimport unique_ptr, shared_ptr