Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / constructor-convert.cpp
blob7feeaa900af6e06a066d8d0a1e906ee52a25a43c
1 // RUN: %clang_cc1 -emit-llvm -o - %s
3 // PR5775
4 class Twine {
5 public:
6 Twine(const char *Str) { }
7 };
9 static void error(const Twine &Message) {}
11 template<typename>
12 struct opt_storage {
13 void f() {
14 error("cl::location(x) specified more than once!");
18 void f(opt_storage<int> o) {
19 o.f();