Home | History | Annotate | Download | only in Inputs
      1 template <typename T> struct Test {
      2   Test() : M(10) {}
      3   void doIt(int N) { // CHECK: 2| [[@LINE]]|  void doIt
      4     if (N > 10) {    // CHECK: 2| [[@LINE]]|    if (N > 10) {
      5       M += 2;        // CHECK: 1| [[@LINE]]|      M += 2;
      6     } else           // CHECK: 1| [[@LINE]]|    } else
      7       M -= 2;        // CHECK: 1| [[@LINE]]|      M -= 2;
      8   }
      9   T M;
     10 };
     11 
     12 #ifdef USE
     13 extern template struct Test<int>;
     14 #endif
     15 #ifdef DEF
     16 template struct Test<int>;
     17 #endif
     18