view clang/test/SemaObjCXX/Inputs/nullability-pragmas-2.h @ 222:81f6424ef0e3 llvm-original

LLVM original branch
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:10:01 +0900
parents 1d019706d866
children
line wrap: on
line source

#pragma clang assume_nonnull start // expected-error{{expected 'begin' or 'end'}}

#pragma clang assume_nonnull begin // expected-note{{#pragma entered here}}

#include "nullability-pragmas-3.h" // expected-error{{cannot #include files inside '#pragma clang assume_nonnull'}}

#pragma clang assume_nonnull begin // expected-note{{#pragma entered here}}
#pragma clang assume_nonnull begin // expected-error{{already inside '#pragma clang assume_nonnull'}}
#pragma clang assume_nonnull end

#pragma clang assume_nonnull begin // expected-error{{'#pragma clang assume_nonnull' was not ended within this file}}