13 lines
143 B
C++
13 lines
143 B
C++
|
|
||
|
#include "depB.h"
|
||
|
#include "depC.h"
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
DepA a;
|
||
|
DepB b;
|
||
|
DepC c;
|
||
|
|
||
|
return a.foo() + b.foo() + c.foo();
|
||
|
}
|