File: test_comments.cc.html

package info (click to toggle)
source-highlight 1.11-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,872 kB
  • ctags: 4,699
  • sloc: sh: 3,633; cpp: 2,606; lex: 2,463; ansic: 1,610; makefile: 537; php: 185; perl: 145; yacc: 122; ruby: 63; sed: 53; python: 45; ml: 38; java: 30
file content (17 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<pre><tt><i><font color="#9A1900">// some tests for comments</font></i>

<i><font color="#9A1900">/*   It is the same for Java and C++</font></i>
<i><font color="#9A1900"> */</font></i>

<i><font color="#9A1900">/*</font></i>
<i><font color="#9A1900">  These are some comments with come nesting</font></i>
<i><font color="#9A1900">  e.g. /* and</font></i>
<i><font color="#9A1900">  let's see if it works!</font></i>
<i><font color="#9A1900">*/</font></i>

<i><font color="#9A1900">// since their // behaviour is /* almost the same </font></i>

<font color="#990000">*</font><font color="#990000">/</font>

<i><font color="#9A1900">/* &lt; &amp; &gt; // */</font></i>
</tt></pre>