summaryrefslogtreecommitdiffstats
path: root/test/CXX/special/class.temporary/p1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/special/class.temporary/p1.cpp')
-rw-r--r--test/CXX/special/class.temporary/p1.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CXX/special/class.temporary/p1.cpp b/test/CXX/special/class.temporary/p1.cpp
index 384b1f8..4f6ac0a 100644
--- a/test/CXX/special/class.temporary/p1.cpp
+++ b/test/CXX/special/class.temporary/p1.cpp
@@ -31,8 +31,7 @@ namespace test1 {
void test() {
A a;
- // FIXME: this error about variadics is bogus
- foo(a); // expected-error {{calling a private constructor of class 'test1::A'}} expected-error {{cannot pass object of non-trivial type 'test1::A' through variadic function}}
+ foo(a); // expected-error {{calling a private constructor of class 'test1::A'}}
}
}
OpenPOWER on IntegriCloud