use strict;
use FindBin;
use lib "$FindBin::Bin/lib";
{
my $config_builder = SPVM::MyClass::ConfigBuilder->new(x => 1);
is(ref $config_builder, 'SPVM::MyClass::ConfigBuilder');
my $config = SPVM::Builder::Config->new(file => __FILE__);
$config_builder->build_config($config);
is_deeply($config->ccflags, ['foo']);
}
done_testing;