blob: a323a1164a027b44b185f8194c8c652fa9c76166 [file] [log] [blame]
// RUN: clang-refactor-test perform -action extract -selected=extract %s | FileCheck %s
;
void extractInline(int x) { // CHECK: "inline int extracted(int x) {\nreturn x + 1;\n}\n\n" [[@LINE]]:1
// extract-begin: +1:11
int y = x + 1;
// extract-end: -1:16
}