1 // RUN: %clang_analyze_cc1 -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify %s
3 // This tests if we search for clones in Objective-C methods.
6 - (int) setOk : (int) a : (int) b;
10 - (int) setOk : (int) a : (int) b { // expected-warning{{Duplicate code detected}}
18 - (int) setOk : (int) a : (int) b;
22 - (int) setOk : (int) a : (int) b { // expected-note{{Similar code here}}