summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsources/scala/_trait_.scala17
1 files changed, 17 insertions, 0 deletions
diff --git a/sources/scala/_trait_.scala b/sources/scala/_trait_.scala
new file mode 100755
index 0000000000..af73c0c8d8
--- /dev/null
+++ b/sources/scala/_trait_.scala
@@ -0,0 +1,17 @@
+/* __ *\
+** ________ ___ / / ___ Scala API **
+** / __/ __// _ | / / / _ | (c) 2002-2005, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | **
+** /____/\___/_/ |_/____/_/ | | **
+** |/ **
+*/
+
+// $Id$
+
+package scala;
+
+/** Temporary class when this appears in the atribute list of an abstract class, the
+ * class is assumed to be a trait. Used to ensure that cold that compiles under old scalac
+ * can also copmpile under nsc.
+ */
+class _trait_ extends Attribute {}