summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/merge-vtable-codegen.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-02-25 10:49:59 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-02-25 10:49:59 +0000
commite218a40a40644c1ce3a32cbe6ddc295c59428e96 (patch)
treedcddc3da1a96e33cb128b840fb60a5ee6c25e782 /clang/test/Modules/merge-vtable-codegen.cpp
parent7257d2802527de4c2f8861d26d96a4fad7da79d6 (diff)
downloadbcm5719-llvm-e218a40a40644c1ce3a32cbe6ddc295c59428e96.tar.gz
bcm5719-llvm-e218a40a40644c1ce3a32cbe6ddc295c59428e96.zip
Revert r230448, "Reland r230314 "Fix codegen for virtual methods that are (re-) exported from multiple modules."", since I have reverted r230446.
llvm-svn: 230477
Diffstat (limited to 'clang/test/Modules/merge-vtable-codegen.cpp')
-rw-r--r--clang/test/Modules/merge-vtable-codegen.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/clang/test/Modules/merge-vtable-codegen.cpp b/clang/test/Modules/merge-vtable-codegen.cpp
deleted file mode 100644
index 7372073891c..00000000000
--- a/clang/test/Modules/merge-vtable-codegen.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-// RUN: rm -rf %t
-
-// First, build two modules that both re-export the same header.
-// RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fmodule-name=b -o %t/b.pcm -fmodule-maps \
-// RUN: -emit-module %S/Inputs/merge-vtable-codegen/merge-vtable-codegen.modulemap \
-// RUN: -I %S/Inputs/merge-vtable-codegen
-// RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fmodule-name=c -o %t/c.pcm -fmodule-maps \
-// RUN: -emit-module %S/Inputs/merge-vtable-codegen/merge-vtable-codegen.modulemap \
-// RUN: -I %S/Inputs/merge-vtable-codegen
-
-// Use the two modules in a single compile.
-// RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fmodule-file=%t/b.pcm -fmodule-file=%t/c.pcm \
-// RUN: -fmodule-map-file=%S/Inputs/merge-vtable-codegen/merge-vtable-codegen.modulemap \
-// RUN: -emit-llvm -o %t/test.o %s
-
-// Note that order is important:
-// Module 'c' just reexports A, while module 'b' defines a method that uses a
-// virtual method of A.
-#include "Inputs/merge-vtable-codegen/c.h"
-#include "Inputs/merge-vtable-codegen/b.h"
-
-void t() {
- b(nullptr);
-}
OpenPOWER on IntegriCloud