diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg3.C')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg3.C | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg3.C b/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg3.C deleted file mode 100644 index f02fb29b3..000000000 --- a/gcc-4.8.1/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg3.C +++ /dev/null @@ -1,18 +0,0 @@ -// PR c++/55223 -// { dg-options "-std=c++11 -fabi-version=0" } -// { dg-final { scan-assembler "_ZN8functionC1IZN1CIiE4testES_Ed_UliE_EET_" } } - -struct function -{ - template <class U> function(U u) { } -}; - -template<typename T> struct C -{ - static T test(function f = [](int i){return i;}) { } -}; - -int main() -{ - C<int>::test(); -} |