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

// Build don't link:

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

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