summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tests/Simple/simpleWe.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Simple/simpleWe.cpp b/Tests/Simple/simpleWe.cpp
index 6bdd583..859e07c 100644
--- a/Tests/Simple/simpleWe.cpp
+++ b/Tests/Simple/simpleWe.cpp
@@ -7,10 +7,11 @@ public:
{
printf("This one has nonstandard extension\n");
}
+ int getnum() { return 0; }
};
int bar()
{
Foo f;
- return 0;
+ return f.getnum();
}