M7350/system/core/libacc/tests/data/b2071670.c
2024-09-09 08:52:07 +00:00

10 lines
241 B
C

// See http://b/2071670
int main() {
float f = 10.0f;
float* floatPointer = &f;
// The following line used to incorrectly error: "Incompatible pointer or array types"
int* buffer = (int*) floatPointer;
return *buffer;
}