summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/bool1.C
blob: baa4196bf39a33714399876b2b9c982d438d372b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }
// bool test case


void foo(int i) {
  foo (true);
}

struct C {
  void foo(int i) {
    foo(true);
  }
  void bar(bool b) {
    bar(0);
  }
};