annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 #pragma clang assume_nonnull start // expected-error{{expected 'begin' or 'end'}}
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 #pragma clang assume_nonnull begin // expected-note{{#pragma entered here}}
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 #include "nullability-pragmas-3.h" // expected-error{{cannot #include files inside '#pragma clang assume_nonnull'}}
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 #pragma clang assume_nonnull begin // expected-note{{#pragma entered here}}
anatofuz
parents:
diff changeset
8 #pragma clang assume_nonnull begin // expected-error{{already inside '#pragma clang assume_nonnull'}}
anatofuz
parents:
diff changeset
9 #pragma clang assume_nonnull end
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 #pragma clang assume_nonnull begin // expected-error{{'#pragma clang assume_nonnull' was not ended within this file}}
anatofuz
parents:
diff changeset
12