summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-reorder-fields/CStructAmbiguousName.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2016-09-02 00:24:06 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2016-09-02 00:24:06 +0000
commit3efddd22b911f5b572d5d6a8a4d13e7caa7e9fb2 (patch)
treeb78b7898d37d56e5f93742db65853bcddc023d60 /clang-tools-extra/test/clang-reorder-fields/CStructAmbiguousName.cpp
parentdc2dff6c685de87abbca035370d691e0bc0da15d (diff)
downloadbcm5719-llvm-3efddd22b911f5b572d5d6a8a4d13e7caa7e9fb2.tar.gz
bcm5719-llvm-3efddd22b911f5b572d5d6a8a4d13e7caa7e9fb2.zip
Revert https://reviews.llvm.org/D23279 because the tests have failed on several platforms
llvm-svn: 280438
Diffstat (limited to 'clang-tools-extra/test/clang-reorder-fields/CStructAmbiguousName.cpp')
-rw-r--r--clang-tools-extra/test/clang-reorder-fields/CStructAmbiguousName.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/clang-tools-extra/test/clang-reorder-fields/CStructAmbiguousName.cpp b/clang-tools-extra/test/clang-reorder-fields/CStructAmbiguousName.cpp
deleted file mode 100644
index e1e6645511d..00000000000
--- a/clang-tools-extra/test/clang-reorder-fields/CStructAmbiguousName.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-// RUN: clang-reorder-fields -record-name ::Foo -fields-order y,x %s -- | FileCheck %s
-
-struct Foo {
- int x; // CHECK: {{^ double y;}}
- double y; // CHECK-NEXT: {{^ int x;}}
-};
-
-namespace bar {
-struct Foo {
- int x; // CHECK: {{^ int x;}}
- double y; // CHECK-NEXT: {{^ double y;}}
-};
-} // end namespace bar
-
-int main() {
- bar::Foo foo = { 1, 1.7 }; // CHECK: {{^ bar::Foo foo = { 1, 1.7 };}}
- return 0;
-}
OpenPOWER on IntegriCloud