make more tests green for C++; refs #7870

This commit is contained in:
Araq
2018-10-30 16:06:44 +01:00
parent b3d80dac9c
commit 7ae6b7e9a2
4 changed files with 4 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ discard """
{.emit: """
#include <stdarg.h>
#include <stdio.h>
void foo(int n, ...) {
NI64 k;

View File

@@ -6,9 +6,9 @@ of
words'''
cmd: r"nim c --hints:on $options -d:release $file"
ccodecheck: "! @'genericSeqAssign'"
target: "c"
"""
# bug #4354
import tables
import sets

View File

@@ -38,7 +38,7 @@ type
t:int
SubObject* = object of TestObj
method test*(t:var TestObj) =
method test*(t:var TestObj) {.base.} =
echo "test called"
method test*(t:var SubObject) =

View File

@@ -2,6 +2,7 @@ discard """
output: "1"
cmd: r"nim c --hints:on $options -d:release $file"
ccodecheck: "'NI volatile state;'"
target: "C"
"""
# bug #1539