-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Layers W/ Multiple Inheretence W/ Templates
Fixes #15
- Loading branch information
1 parent
44bb66d
commit 248180d
Showing
7 changed files
with
205 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
class A | ||
{ | ||
public: | ||
virtual void m1(){}; | ||
}; | ||
|
||
class B | ||
{ | ||
public: | ||
virtual void m2(){}; | ||
}; | ||
|
||
class C:public A, public B | ||
{ | ||
public: | ||
virtual void m3(){}; | ||
}; | ||
|
||
class D:public C | ||
{ | ||
public: | ||
virtual void m4()__attribute__((annotate("non-realtime"))){}; | ||
}; | ||
|
||
void foo(C*c)__attribute__((annotate("realtime"))) | ||
{ | ||
c->m2(); | ||
} | ||
|
||
int main() | ||
{ | ||
new D; | ||
return 0; | ||
} |
Oops, something went wrong.