The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;
use Test::More tests => 2;

use Class::C3::Adopt::NEXT;

use FindBin;
use lib "$FindBin::Bin/lib";

use C3NT_nowarn;

my @warnings;
$SIG{__WARN__} = sub { push @warnings, @_ };

my $quux_obj = C3NT::Quux->new;
is($quux_obj->basic, 42, 'Basic inherited method returns correct value');
is(scalar @warnings, 0, 'no warnings when disabled');