Well besides your fucked up main statement:
int main(int argc, char argv[])
should be
int main(int argc, char *argv[])
and missing a destructor which you defined/declare but don't implement (~Die), it compiles fine for me.
[11:58 PM Thu Apr 10][0][bluechill /Users/bluechill/test]$ clang++ -stdlib=libc++ -std=c++11 main.cpp -o test
[11:58 PM Thu Apr 10][0][bluechill /Users/bluechill/test]$ ./test
1[11:59 PM Thu Apr 10][0][bluechill /Users/bluechill/test]$
However, you're really supposed to use headers and source files. Put the implementations of Die in Die.cpp and #include "Die.h" where you define the class (the class Die { ... } portion). And then in main.cpp #include "Die.h". When you compile, then you must do the following:
clang++ -stdlib=libc++ -std=c++11 -c Die.cpp -o die.o
clang++ -stdlib=libc++ -std=c++11 -c main.cpp -o main.o
clang++-stdlib=libc++ -std=c++11 -o test main.o die.o