[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / SemaObjC / invalid-receiver.m
blob1742993e4dcb0eb7dcd49a8b43b01395efa37cfc
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 typedef struct NotAClass {
4   int a, b;
5 } NotAClass;
7 void foo(void) {
8   [NotAClass nonexistent_method]; // expected-error {{receiver type 'NotAClass' (aka 'struct NotAClass') is not an Objective-C class}}