OSDN Git Service

* c-c++-common/raw-string-1.c: Combine C and C++ raw string tests.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / has_nothrow_copy-3.C
1 // PR c++/36871
2 // { dg-do "run" }
3 #include <cassert>
4
5 struct F {
6     F (const F&) throw () { }
7     template <class T> F (T) throw () { }
8 };
9
10 int main ()
11 {
12   assert (__has_nothrow_copy (F));
13 }