Home | History | Annotate | Download | only in jni
      1 // PR c++/55223
      2 // { dg-options "-std=c++11 -fabi-version=0" }
      3 // { dg-final { scan-assembler "_ZN8functionC1IZN1CIiE4testES_Ed_UliE_EET_" } }
      4 
      5 struct function
      6 {
      7   template <class U> function(U u) { }
      8 };
      9 
     10 template<typename T> struct C
     11 {
     12   static T test(function f = [](int i){return i;}) { }
     13 };
     14 
     15 int main()
     16 {
     17   C<int>::test();
     18 }
     19