File: test.cc

package info (click to toggle)
ecbuild 3.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,068 kB
  • sloc: sh: 1,404; perl: 732; f90: 472; cpp: 466; python: 383; ansic: 304; fortran: 43; makefile: 15
file content (13 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>

extern "C" {
#include "foo.h"
}

int main()
{
  if( foo() == 42)
    std::cout << "ok" << std::endl;
  else
    std::cout << "failed" << std::endl;
}