1// RUN: clang-reorder-fields -record-name ::bar::Foo -fields-order z,y,x %s -- | FileCheck %s
2
3namespace bar {
4
5// The order of fields should not change.
6struct Foo {
7 int x, y; // CHECK: {{^ int x, y;}}
8 double z; // CHECK-NEXT: {{^ double z;}}
9};
10
11} // end namespace bar
12

source code of clang-tools-extra/test/clang-reorder-fields/MultipleFieldDeclsInStatement.cpp