mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 04:10:49 -05:00
9 lines
208 B
Objective-C
9 lines
208 B
Objective-C
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
typedef struct NotAClass {
|
|
int a, b;
|
|
} NotAClass;
|
|
|
|
void foo() {
|
|
[NotAClass nonexistent_method]; // expected-error {{invalid receiver to message expression}}
|
|
}
|