summaryrefslogtreecommitdiffstats
path: root/test/input
diff options
context:
space:
mode:
Diffstat (limited to 'test/input')
-rw-r--r--test/input/Constructor-annotate.cxx3
-rw-r--r--test/input/Converter-annotate.cxx3
-rw-r--r--test/input/Destructor-annotate.cxx3
-rw-r--r--test/input/Function-annotate.cxx1
-rw-r--r--test/input/Function-calling-convention-ms-annotate.cxx4
-rw-r--r--test/input/Method-annotate.cxx3
-rw-r--r--test/input/OperatorFunction-annotate.cxx4
-rw-r--r--test/input/OperatorMethod-annotate.cxx3
8 files changed, 24 insertions, 0 deletions
diff --git a/test/input/Constructor-annotate.cxx b/test/input/Constructor-annotate.cxx
new file mode 100644
index 0000000..94cf13e
--- /dev/null
+++ b/test/input/Constructor-annotate.cxx
@@ -0,0 +1,3 @@
+class start {
+ __attribute__ ((annotate ("an annotation"))) start();
+};
diff --git a/test/input/Converter-annotate.cxx b/test/input/Converter-annotate.cxx
new file mode 100644
index 0000000..2e4a915
--- /dev/null
+++ b/test/input/Converter-annotate.cxx
@@ -0,0 +1,3 @@
+class start {
+ __attribute__ ((annotate ("an annotation"))) operator int();
+};
diff --git a/test/input/Destructor-annotate.cxx b/test/input/Destructor-annotate.cxx
new file mode 100644
index 0000000..f2c59f1
--- /dev/null
+++ b/test/input/Destructor-annotate.cxx
@@ -0,0 +1,3 @@
+class start {
+ __attribute__ ((annotate ("an annotation"))) ~start();
+};
diff --git a/test/input/Function-annotate.cxx b/test/input/Function-annotate.cxx
new file mode 100644
index 0000000..d7aaf79
--- /dev/null
+++ b/test/input/Function-annotate.cxx
@@ -0,0 +1 @@
+__attribute__ ((annotate ("an annotation"))) void start(int);
diff --git a/test/input/Function-calling-convention-ms-annotate.cxx b/test/input/Function-calling-convention-ms-annotate.cxx
new file mode 100644
index 0000000..4803dd8
--- /dev/null
+++ b/test/input/Function-calling-convention-ms-annotate.cxx
@@ -0,0 +1,4 @@
+__attribute__ ((annotate ("an annotation"))) void __cdecl start(void (__cdecl *)());
+__attribute__ ((annotate ("an annotation"))) void __stdcall start(void (__stdcall *)());
+__attribute__ ((annotate ("an annotation"))) void __fastcall start(void (__fastcall *)());
+__attribute__ ((annotate ("an annotation"))) void __thiscall start(void (__thiscall *)());
diff --git a/test/input/Method-annotate.cxx b/test/input/Method-annotate.cxx
new file mode 100644
index 0000000..cbd02cf
--- /dev/null
+++ b/test/input/Method-annotate.cxx
@@ -0,0 +1,3 @@
+class start {
+ __attribute__ ((annotate ("an annotation"))) int method(int);
+};
diff --git a/test/input/OperatorFunction-annotate.cxx b/test/input/OperatorFunction-annotate.cxx
new file mode 100644
index 0000000..bbb3bf9
--- /dev/null
+++ b/test/input/OperatorFunction-annotate.cxx
@@ -0,0 +1,4 @@
+class A;
+namespace start {
+ __attribute__ ((annotate ("an annotation"))) A& operator<<(A&, int);
+}
diff --git a/test/input/OperatorMethod-annotate.cxx b/test/input/OperatorMethod-annotate.cxx
new file mode 100644
index 0000000..3384ece
--- /dev/null
+++ b/test/input/OperatorMethod-annotate.cxx
@@ -0,0 +1,3 @@
+class start {
+ __attribute__ ((annotate ("an annotation"))) start& operator<<(int);
+};