// RUN: clang-refactor extract -selection=test:%s %s -- -std=c++11 2>&1 | grep -v CHECK | FileCheck --check-prefixes=CHECK,CHECK-INNER %s
// RUN: clang-refactor extract -selection=test:%s %s -- -std=c++11 -DMULTIPLE 2>&1 | grep -v CHECK | FileCheck --check-prefixes=CHECK,CHECK-OUTER %s
;
int PREFIX
// CHECK: 1 'outofline' results:
// CHECK: static int extracted() {
// CHECK-NEXT: return 2 * 2 - 1;{{$}}
// CHECK-NEXT: }{{[[:space:]].*}}
// CHECK-NEXT: int PREFIX AClass::otherMethod