It actually returns the result - 1 (except for pow(2, 0) and pow(2, 1))
The attached demonstrates this behaviour (on an Arduino - other devices may differ?):
Martin2**0 = 1
2**1 = 2
2**2 = 3
2**3 = 7
2**4 = 15
2**5 = 31
2**6 = 63
2**7 = 127
2**8 = 255 // The example in the WIKI should = 256!