Update tests

This commit is contained in:
Jeehoon Kang
2020-06-12 05:05:23 +09:00
parent c2380efbb0
commit a12db7949c
256 changed files with 49817 additions and 49542 deletions

View File

@@ -5,6 +5,7 @@ use lang_c::ast::*;
use lang_c::driver::{parse, Config, Error as ParseError};
use lang_c::span::Node;
use crate::utils::AssertSupported;
use crate::Translate;
#[derive(Debug)]
@@ -31,10 +32,6 @@ impl<P: AsRef<Path>> Translate<P> for Parse {
}
}
trait AssertSupported {
fn assert_supported(&self);
}
impl<T: AssertSupported> AssertSupported for Node<T> {
fn assert_supported(&self) {
self.node.assert_supported();