summaryrefslogblamecommitdiff
path: root/tests/exec/lazy1.cpp
blob: 7e36aa26a6f19369795b00c9425508655cbce495 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                     
#include <iostream>

int main() {
  std::cout << (42 || (1/0)) << "\n";
  std::cout << (0  && (2/0)) << "\n";
  int *p = NULL;
  if (1 || *p)
    std::cout << "ok\n";
}