1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00
Files
esp8266/app/preproc/test/data/foo7.cpp

36 lines
295 B
C++

#include "hello" /* for blah */
int x[] = { 1, 2, 3 };
int y[2] = { 1, 2 };
class Foo {
public:
Foo();
Foo(int x);
int bar() { return x; }
private:
int x;
};
Foo::Foo(int x) : x(x) {}
Foo::Foo() {
x = 0;
}
Foo foo(3);
Foo bar = Foo(2);
void setup() {
}
void
loop (
)
{
}