summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/diagnostics.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/diagnostics.html b/www/diagnostics.html
index d8e0221f43..76a7ba4a82 100644
--- a/www/diagnostics.html
+++ b/www/diagnostics.html
@@ -316,7 +316,7 @@ forgetting a ; after a struct definition much better than GCC.</p>
a&lt;int&gt; c;
$ <span class="cmd">gcc-4.9 t.cc</span>
t.cc:4:8: error: invalid declarator before 'c'
- a<int> c;
+ a&lt;int&gt; c;
^
$ <span class="cmd">clang t.cc</span>
<span class="loc">t.cc:3:12:</span> <span class="err">error:</span> <span class="msg">expected ';' after struct</span>