diff options
Diffstat (limited to 'tests/ui/stability-attribute/ctor-stability.rs')
-rw-r--r-- | tests/ui/stability-attribute/ctor-stability.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/stability-attribute/ctor-stability.rs b/tests/ui/stability-attribute/ctor-stability.rs new file mode 100644 index 000000000..fcab0cb10 --- /dev/null +++ b/tests/ui/stability-attribute/ctor-stability.rs @@ -0,0 +1,8 @@ +// aux-build:ctor-stability.rs +// check-pass + +extern crate ctor_stability; + +fn main() { + let _ = ctor_stability::Foo::A; +} |