diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/cpp0x/rv-this.C')
-rw-r--r-- | gcc-4.9/gcc/testsuite/g++.dg/cpp0x/rv-this.C | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/rv-this.C b/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/rv-this.C new file mode 100644 index 0000000..8064a51 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/rv-this.C @@ -0,0 +1,7 @@ +// PR c++/56701 +// { dg-require-effective-target c++11 } + +struct A +{ + void f(){ A*&& a = this; } +}; |