about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-10-06 13:56:36 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-10-06 14:16:50 +0200
commit83077bee9352cea17758b26aa467022b2fbdc599 (patch)
tree95069015b100de33cbea0ab4261539dcfc29665a /src/rustllvm/RustWrapper.cpp
parenteea299beaaf5d4a735101a1209d774a2faf01343 (diff)
downloadrust-83077bee9352cea17758b26aa467022b2fbdc599.tar.gz
rust-83077bee9352cea17758b26aa467022b2fbdc599.zip
compile-fail tests.
One just checks that we are feature-gating the UGEH attribute (as
usual for attributes associated with unstable features).

The other is adapted from the RFC 1238 text, except that it has been
extended somewhat to actually *illustrate* the scenario that we are
trying to prevent, namely observing the state of data, from safe code,
after the destructor for that data has been executed.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions