aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C')
-rw-r--r--gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C b/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C
deleted file mode 100644
index 8ff36478d..000000000
--- a/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C
+++ /dev/null
@@ -1,23 +0,0 @@
-// PR c++/47795
-// { dg-options "-std=c++0x" }
-
-class Klass
-{
- unsigned int local;
-public:
- bool dostuff();
-};
-
-bool Klass::dostuff()
-{
- auto f = []() -> bool {
- if (local & 1) { return true; } // { dg-error "not captured" }
- return false;
- };
-}
-
-int main()
-{
- Klass c;
- return 0;
-}