triplegolf - not only the source code length counts! The goal of this challenge is to write a program where the length of the following three are exactly the same:


the length of the source code
the length of the output it prints to the standard output
the length of the compiler warnings it generates with the (unmodded) compiler of your choice


The winner is the shortest code to fulfill all three criteria, and has to be at least 1 character long.

To spice things up, if the output has less than three different characters, it gets a 5 point penalty added to the length for each one (so +10 if only a single type, +5 for two).

(Newlines count either as 1 or 2 characters, your choice, but it has to be consistent through all three criteria. Leading and trailing white-spaces are ignored in all lines in all three criteria)

In case of equal score, the one printing the most interesting result (instead of garbage) is the winner.
Bash, 23 characters
Error:
bash: /: Is a directory

Source:
echo       $0-$01234;/;

Output:
/bin/bash-/bin/bash1234


Brainf*ck, 32 characters
This code executes for about 3 seconds and stops and displays the following error and output.
Error:
bff: out of memory (-2058691272)

Source:
+++++[......-]..+[&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;-]

Output: (Hexdump)
0505 0505 0505 0404 0404 0404 0303 0303
0303 0202 0202 0202 0101 0101 0101 0000


C, 35 characters
Warning:
b.c:1:30: warning: division by zero

Source and Output:
main(){system(&quot;cat &quot;__FILE__)/0;;;}


PHP, 50 characters
Warning:
PHP Warning:  Division by zero in /tmp/3 on line 1

Source and Output:
&lt;?php echo (0/0).''.file_get_contents(__FILE__);?&gt;