You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
264 B

// RUN: %clang_analyze_cc1 -verify %s \
// RUN: -analyzer-output=plist -o %t.plist \
// RUN: -analyzer-checker=core \
// RUN: -analyzer-checker=debug.ReportStmts
struct h {
operator int();
};
int k() {
return h(); // expected-warning 3 {{Statement}}
}