1 // RUN: %clang_analyze_cc1 -fblocks -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify %s
3 // This tests if we search for clones in blocks.
7 auto BlockA
= ^(int a
, int b
){ // expected-warning{{Duplicate code detected}}
14 auto BlockB
= ^(int a
, int b
){ // expected-note{{Similar code here}}